Improved EEPROM boot error (#17916)
This commit is contained in:
@ -47,7 +47,7 @@
|
||||
#include "../../feature/runout.h"
|
||||
#endif
|
||||
|
||||
#if ENABLED(EEPROM_SETTINGS) && DISABLED(SLIM_LCD_MENUS)
|
||||
#if ENABLED(SD_FIRMWARE_UPDATE)
|
||||
#include "../../module/configuration_store.h"
|
||||
#endif
|
||||
|
||||
@ -97,10 +97,6 @@ void menu_cancelobject();
|
||||
|
||||
#endif
|
||||
|
||||
#if ENABLED(SD_FIRMWARE_UPDATE)
|
||||
#include "../../module/configuration_store.h"
|
||||
#endif
|
||||
|
||||
#if DISABLED(NO_VOLUMETRICS) || ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||
//
|
||||
// Advanced Settings > Filament
|
||||
@ -591,13 +587,8 @@ void menu_advanced_settings() {
|
||||
#if ENABLED(EEPROM_SETTINGS) && DISABLED(SLIM_LCD_MENUS)
|
||||
CONFIRM_ITEM(MSG_INIT_EEPROM,
|
||||
MSG_BUTTON_INIT, MSG_BUTTON_CANCEL,
|
||||
[]{
|
||||
const bool inited = settings.init_eeprom();
|
||||
ui.completion_feedback(inited);
|
||||
UNUSED(inited);
|
||||
},
|
||||
ui.goto_previous_screen,
|
||||
GET_TEXT(MSG_INIT_EEPROM), (PGM_P)nullptr, PSTR("?")
|
||||
ui.init_eeprom, ui.goto_previous_screen,
|
||||
GET_TEXT(MSG_INIT_EEPROM), (const char *)nullptr, PSTR("?")
|
||||
);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user