diff --git a/Marlin/src/HAL/HAL_DUE/Servo_Due.cpp b/Marlin/src/HAL/HAL_DUE/Servo_Due.cpp index aadf297d37..a80d0c4f0d 100644 --- a/Marlin/src/HAL/HAL_DUE/Servo_Due.cpp +++ b/Marlin/src/HAL/HAL_DUE/Servo_Due.cpp @@ -137,7 +137,7 @@ void initISR(timer16_Sequence_t timer) { #endif } -void finISR(timer16_Sequence_t timer) { +void finISR(timer16_Sequence_t) { #ifdef _useTimer1 TC_Stop(TC_FOR_TIMER1, CHANNEL_FOR_TIMER1); #endif diff --git a/Marlin/src/core/language.h b/Marlin/src/core/language.h index a5131d6fad..07cdddedee 100644 --- a/Marlin/src/core/language.h +++ b/Marlin/src/core/language.h @@ -37,7 +37,7 @@ // NOTE: IF YOU CHANGE LANGUAGE FILES OR MERGE A FILE WITH CHANGES // -// ==> ALWAYS TRY TO COMPILE MARLIN WITH/WITHOUT "ULTIPANEL" / "ULTRALCD" / "SDSUPPORT" #define IN "Configuration.h" +// ==> ALWAYS TRY TO COMPILE MARLIN WITH/WITHOUT "ULTIPANEL" / "ULTRA_LCD" / "SDSUPPORT" #define IN "Configuration.h" // ==> ALSO TRY ALL AVAILABLE LANGUAGE OPTIONS // See also http://marlinfw.org/docs/development/lcd_language.html diff --git a/Marlin/src/lcd/ultralcd.cpp b/Marlin/src/lcd/ultralcd.cpp index f491570720..379f41646f 100644 --- a/Marlin/src/lcd/ultralcd.cpp +++ b/Marlin/src/lcd/ultralcd.cpp @@ -538,7 +538,7 @@ void MarlinUI::status_screen() { return; } - #endif // HAS_LCD_MENU + #endif #if ENABLED(ULTIPANEL_FEEDMULTIPLY) @@ -802,7 +802,9 @@ void MarlinUI::update() { card.release(); if (old_sd_status != 2) { set_status_P(PSTR(MSG_SD_REMOVED)); - if (!on_status_screen()) return_to_status(); + #if HAS_LCD_MENU + return_to_status(); + #endif } } diff --git a/Marlin/src/module/tool_change.cpp b/Marlin/src/module/tool_change.cpp index 8e27f0d03c..264dd16700 100644 --- a/Marlin/src/module/tool_change.cpp +++ b/Marlin/src/module/tool_change.cpp @@ -770,8 +770,6 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) { if (new_tool == active_extruder) return; #endif - const uint8_t old_tool = active_extruder; - #if ENABLED(MIXING_EXTRUDER) UNUSED(no_move); @@ -824,6 +822,7 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) { constexpr bool idex_full_control = false; #endif + const uint8_t old_tool = active_extruder; const bool can_move_away = !no_move && !idex_full_control; #if ENABLED(TOOLCHANGE_FILAMENT_SWAP)