mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-17 06:48:05 +00:00
Misc. Cleanup
This commit is contained in:
parent
a76d8c70dd
commit
3b57c3316a
4 changed files with 6 additions and 7 deletions
|
@ -1593,7 +1593,7 @@ void setup() {
|
|||
HMI_Init();
|
||||
DWIN_JPG_CacheTo1(Language_English);
|
||||
HMI_StartFrame(true);
|
||||
DWIN_StatusChanged(GET_TEXT(WELCOME_MSG));
|
||||
DWIN_StatusChanged_P(GET_TEXT(WELCOME_MSG));
|
||||
#endif
|
||||
|
||||
#if HAS_SERVICE_INTERVALS && DISABLED(DWIN_CREALITY_LCD)
|
||||
|
|
|
@ -535,8 +535,8 @@ void wait_for_confirmation(const bool is_reload/*=false*/, const int8_t max_beep
|
|||
const millis_t nozzle_timeout = SEC_TO_MS(PAUSE_PARK_NOZZLE_TIMEOUT);
|
||||
|
||||
HOTEND_LOOP() thermalManager.heater_idle[e].start(nozzle_timeout);
|
||||
TERN_(HOST_PROMPT_SUPPORT, host_prompt_do(PROMPT_USER_CONTINUE, PSTR("Reheat Done"), CONTINUE_STR));
|
||||
TERN_(EXTENSIBLE_UI, ExtUI::onUserConfirmRequired_P(PSTR("Reheat finished.")));
|
||||
TERN_(HOST_PROMPT_SUPPORT, host_prompt_do(PROMPT_USER_CONTINUE, GET_TEXT(MSG_REHEATDONE), CONTINUE_STR));
|
||||
TERN_(EXTENSIBLE_UI, ExtUI::onUserConfirmRequired_P(GET_TEXT(MSG_REHEATDONE)));
|
||||
wait_for_user = true;
|
||||
nozzle_timed_out = false;
|
||||
|
||||
|
|
|
@ -727,6 +727,7 @@ namespace Language_en {
|
|||
#endif
|
||||
PROGMEM Language_Str MSG_REHEAT = _UxGT("Reheat");
|
||||
PROGMEM Language_Str MSG_REHEATING = _UxGT("Reheating...");
|
||||
PROGMEM Language_Str MSG_REHEATDONE = _UxGT("Reheat Done");
|
||||
|
||||
PROGMEM Language_Str MSG_PROBE_WIZARD = _UxGT("Z Probe Wizard");
|
||||
PROGMEM Language_Str MSG_PROBE_WIZARD_PROBING = _UxGT("Probing Z Reference");
|
||||
|
|
|
@ -201,7 +201,7 @@ static void _lcd_level_bed_corners_get_next_position() {
|
|||
void _lcd_draw_raise() {
|
||||
if (!ui.should_draw()) return;
|
||||
MenuItem_confirm::select_screen(
|
||||
GET_TEXT(MSG_BUTTON_DONE), GET_TEXT(MSG_BUTTON_SKIP)
|
||||
GET_TEXT(MSG_BUTTON_DONE), GET_TEXT(MSG_BUTTON_SKIP)
|
||||
, []{ corner_probing_done = true; wait_for_probe = false; }
|
||||
, []{ wait_for_probe = false; }
|
||||
, GET_TEXT(MSG_LEVEL_CORNERS_RAISE)
|
||||
|
@ -212,9 +212,7 @@ static void _lcd_level_bed_corners_get_next_position() {
|
|||
void _lcd_draw_level_prompt() {
|
||||
if (!ui.should_draw()) return;
|
||||
MenuItem_confirm::confirm_screen(
|
||||
[]{ queue.inject_P(TERN(HAS_LEVELING, PSTR("G29N"), G28_STR));
|
||||
ui.return_to_status();
|
||||
}
|
||||
[]{ queue.inject_P(TERN(HAS_LEVELING, PSTR("G29N"), G28_STR)); ui.return_to_status(); }
|
||||
, []{ ui.goto_previous_screen_no_defer(); }
|
||||
, GET_TEXT(MSG_LEVEL_CORNERS_IN_RANGE)
|
||||
, (const char*)nullptr, PSTR("?")
|
||||
|
|
Loading…
Reference in a new issue