🎨 Misc. code cleanup
This commit is contained in:
committed by
Scott Lahteine
parent
0273a68587
commit
6f9f25dbb2
@ -1554,6 +1554,7 @@ void setup() {
|
||||
#endif
|
||||
|
||||
#if HAS_DWIN_E3V2_BASIC
|
||||
SETUP_LOG("E3V2 Init");
|
||||
Encoder_Configuration();
|
||||
HMI_Init();
|
||||
HMI_SetLanguageCache();
|
||||
@ -1562,7 +1563,7 @@ void setup() {
|
||||
#endif
|
||||
|
||||
#if HAS_SERVICE_INTERVALS && !HAS_DWIN_E3V2_BASIC
|
||||
ui.reset_status(true); // Show service messages or keep current status
|
||||
SETUP_RUN(ui.reset_status(true)); // Show service messages or keep current status
|
||||
#endif
|
||||
|
||||
#if ENABLED(MAX7219_DEBUG)
|
||||
@ -1593,7 +1594,7 @@ void setup() {
|
||||
#endif
|
||||
|
||||
#if BOTH(HAS_LCD_MENU, TOUCH_SCREEN_CALIBRATION) && EITHER(TFT_CLASSIC_UI, TFT_COLOR_UI)
|
||||
ui.check_touch_calibration();
|
||||
SETUP_RUN(ui.check_touch_calibration());
|
||||
#endif
|
||||
|
||||
marlin_state = MF_RUNNING;
|
||||
|
@ -98,7 +98,7 @@ void TWIBus::echodata(uint8_t bytes, FSTR_P const pref, uint8_t adr, const uint8
|
||||
union TwoBytesToInt16 { uint8_t bytes[2]; int16_t integervalue; };
|
||||
TwoBytesToInt16 ConversionUnion;
|
||||
|
||||
echoprefix(bytes, pref, adr);
|
||||
echoprefix(bytes, pref, adr);
|
||||
|
||||
while (bytes-- && Wire.available()) {
|
||||
int value = Wire.read();
|
||||
|
@ -54,7 +54,7 @@
|
||||
|
||||
//
|
||||
// Limit Switches
|
||||
//
|
||||
//
|
||||
#define X_STOP_PIN PD8
|
||||
#define Y_STOP_PIN PD15
|
||||
#define Z_MIN_PIN PA11
|
||||
@ -173,7 +173,7 @@
|
||||
#define LCD_PINS_D5 PE7
|
||||
#define LCD_PINS_D6 PB2
|
||||
#define LCD_PINS_D7 PB1
|
||||
|
||||
|
||||
#if ENABLED(REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER)
|
||||
#define BTN_ENC_EN LCD_PINS_D7 // Detect the presence of the encoder
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user