Fix to correct EEPROM address
This commit is contained in:
parent
47235bbf62
commit
95c6ea5889
|
|
@ -1651,7 +1651,7 @@ void setup()
|
||||||
#ifdef DEBUG_UVLO_AUTOMATIC_RECOVER
|
#ifdef DEBUG_UVLO_AUTOMATIC_RECOVER
|
||||||
puts_P(_N("Normal recovery!"));
|
puts_P(_N("Normal recovery!"));
|
||||||
#endif
|
#endif
|
||||||
if (eeprom_read_byte((uint8_t*)EEPROM_UVLO) == PowerPanic::PRINT_TYPE_HOST) {
|
if (eeprom_read_byte((uint8_t*)EEPROM_UVLO_PRINT_TYPE) == PowerPanic::PRINT_TYPE_HOST) {
|
||||||
recover_print(0);
|
recover_print(0);
|
||||||
} else {
|
} else {
|
||||||
const uint8_t btn = lcd_show_fullscreen_message_yes_no_and_wait_P(_T(MSG_RECOVER_PRINT), false);
|
const uint8_t btn = lcd_show_fullscreen_message_yes_no_and_wait_P(_T(MSG_RECOVER_PRINT), false);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue