FW Crash messages will not be translated
This commit is contained in:
parent
ab48e9880e
commit
6822b65e9c
@ -1011,7 +1011,7 @@ static void fw_crash_init()
|
|||||||
eeprom_read_byte((uint8_t*)EEPROM_FW_CRASH_FLAG) != 0xFF)
|
eeprom_read_byte((uint8_t*)EEPROM_FW_CRASH_FLAG) != 0xFF)
|
||||||
{
|
{
|
||||||
lcd_show_fullscreen_message_and_wait_P(
|
lcd_show_fullscreen_message_and_wait_P(
|
||||||
_i("FW crash detected! "
|
_n("FW crash detected! "
|
||||||
"You can continue printing. "
|
"You can continue printing. "
|
||||||
"Debug data available for analysis. "
|
"Debug data available for analysis. "
|
||||||
"Contact support to submit details."));
|
"Contact support to submit details."));
|
||||||
@ -1025,17 +1025,17 @@ static void fw_crash_init()
|
|||||||
lcd_beeper_quick_feedback();
|
lcd_beeper_quick_feedback();
|
||||||
lcd_clear();
|
lcd_clear();
|
||||||
|
|
||||||
lcd_puts_P(_i("FIRMWARE CRASH!\nCrash reason:\n"));
|
lcd_puts_P(_n("FIRMWARE CRASH!\nCrash reason:\n"));
|
||||||
switch(crash_reason)
|
switch(crash_reason)
|
||||||
{
|
{
|
||||||
case dump_crash_reason::stack_error:
|
case dump_crash_reason::stack_error:
|
||||||
lcd_puts_P(_i("Static memory has\nbeen overwritten"));
|
lcd_puts_P(_n("Static memory has\nbeen overwritten"));
|
||||||
break;
|
break;
|
||||||
case dump_crash_reason::watchdog:
|
case dump_crash_reason::watchdog:
|
||||||
lcd_puts_P(_i("Watchdog timeout"));
|
lcd_puts_P(_n("Watchdog timeout"));
|
||||||
break;
|
break;
|
||||||
case dump_crash_reason::bad_isr:
|
case dump_crash_reason::bad_isr:
|
||||||
lcd_puts_P(_i("Bad interrupt"));
|
lcd_puts_P(_n("Bad interrupt"));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
lcd_print((uint8_t)crash_reason);
|
lcd_print((uint8_t)crash_reason);
|
||||||
|
@ -2051,11 +2051,11 @@ static void lcd_support_menu()
|
|||||||
#endif //defined VOLT_BED_PIN || defined VOLT_PWR_PIN
|
#endif //defined VOLT_BED_PIN || defined VOLT_PWR_PIN
|
||||||
|
|
||||||
#ifdef MENU_DUMP
|
#ifdef MENU_DUMP
|
||||||
MENU_ITEM_FUNCTION_P(_i("Dump memory"), lcd_dump_memory);
|
MENU_ITEM_FUNCTION_P(_n("Dump memory"), lcd_dump_memory);
|
||||||
#endif //MENU_DUMP
|
#endif //MENU_DUMP
|
||||||
#ifdef MENU_SERIAL_DUMP
|
#ifdef MENU_SERIAL_DUMP
|
||||||
if (emergency_serial_dump)
|
if (emergency_serial_dump)
|
||||||
MENU_ITEM_FUNCTION_P(_i("Dump to serial"), lcd_serial_dump);
|
MENU_ITEM_FUNCTION_P(_n("Dump to serial"), lcd_serial_dump);
|
||||||
#endif
|
#endif
|
||||||
#ifdef DEBUG_BUILD
|
#ifdef DEBUG_BUILD
|
||||||
#ifdef EMERGENCY_HANDLERS
|
#ifdef EMERGENCY_HANDLERS
|
||||||
|
Loading…
Reference in New Issue
Block a user