From d8117eab6683c266b1c8323d0861e155d38914d8 Mon Sep 17 00:00:00 2001 From: PavelSindler Date: Mon, 15 Jan 2018 17:39:42 +0100 Subject: [PATCH] timeout fix and MSG_UNLOAD_SUCCESSFULL message shortened --- Firmware/Marlin_main.cpp | 2 +- Firmware/language_all.cpp | 2 +- Firmware/language_en.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Firmware/Marlin_main.cpp b/Firmware/Marlin_main.cpp index 7b0ffa62..876ef55b 100644 --- a/Firmware/Marlin_main.cpp +++ b/Firmware/Marlin_main.cpp @@ -5577,7 +5577,7 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp case 0: delay_keep_alive(4); - if (millis() > waiting_start_time + M600_TIMEOUT * 1000) { + if (millis() > waiting_start_time + (unsigned long)M600_TIMEOUT * 1000) { lcd_display_message_fullscreen_P(MSG_PRESS_TO_PREHEAT); wait_for_user_state = 1; setTargetHotend(0, 0); diff --git a/Firmware/language_all.cpp b/Firmware/language_all.cpp index 99b8e7db..02674de4 100644 --- a/Firmware/language_all.cpp +++ b/Firmware/language_all.cpp @@ -2228,7 +2228,7 @@ const char * const MSG_UNLOAD_FILAMENT_4_LANG_TABLE[LANG_NUM] PROGMEM = { MSG_UNLOAD_FILAMENT_4_CZ }; -const char MSG_UNLOAD_SUCCESSFULL_EN[] PROGMEM = "Was filament successfully unloaded?"; +const char MSG_UNLOAD_SUCCESSFULL_EN[] PROGMEM = "Was filament unload successfull?"; const char MSG_UNLOAD_SUCCESSFULL_CZ[] PROGMEM = "Bylo vysunuti filamentu uspesne?"; const char * const MSG_UNLOAD_SUCCESSFULL_LANG_TABLE[LANG_NUM] PROGMEM = { MSG_UNLOAD_SUCCESSFULL_EN, diff --git a/Firmware/language_en.h b/Firmware/language_en.h index 1bafe1d7..2cc51843 100644 --- a/Firmware/language_en.h +++ b/Firmware/language_en.h @@ -386,7 +386,7 @@ #define(length=17, lines=1) MSG_FSENS_AUTOLOAD_NA "F. autoload [N/A]" #define(length=20, lines=4) MSG_PRESS_TO_UNLOAD "Please press the knob to unload filament" #define(length=20, lines=4) MSG_PRESS_TO_PREHEAT "Press knob to preheat nozzle and continue." -#define(length=20, lines=2) MSG_UNLOAD_SUCCESSFULL "Was filament successfully unloaded?" +#define(length=20, lines=2) MSG_UNLOAD_SUCCESSFULL "Was filament unload successfull?" #define(length=20, lines=4) MSG_CHECK_IDLER "Please open idler and remove filament manually." #define(length=20, lines=4) MSG_PULL_OUT_FILAMENT "Please pull out filament immediately" #define(length=20, lines=2) MSG_FILE_INCOMPLETE "File incomplete. Continue anyway?"