🧑💻 Misc. LCD cleanup
This commit is contained in:
@ -1478,7 +1478,7 @@ void MarlinSettings::postprocess() {
|
||||
{
|
||||
_FIELD_TEST(dwin_data);
|
||||
char dwin_data[eeprom_data_size] = { 0 };
|
||||
DWIN_StoreSettings(dwin_data);
|
||||
DWIN_CopySettingsTo(dwin_data);
|
||||
EEPROM_WRITE(dwin_data);
|
||||
}
|
||||
#endif
|
||||
@ -2426,7 +2426,7 @@ void MarlinSettings::postprocess() {
|
||||
const char dwin_data[eeprom_data_size] = { 0 };
|
||||
_FIELD_TEST(dwin_data);
|
||||
EEPROM_READ(dwin_data);
|
||||
if (!validating) DWIN_LoadSettings(dwin_data);
|
||||
if (!validating) DWIN_CopySettingsFrom(dwin_data);
|
||||
}
|
||||
#elif ENABLED(DWIN_CREALITY_LCD_JYERSUI)
|
||||
{
|
||||
@ -2843,7 +2843,6 @@ void MarlinSettings::reset() {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
TERN_(DWIN_LCD_PROUI, DWIN_SetDataDefaults());
|
||||
TERN_(DWIN_CREALITY_LCD_JYERSUI, CrealityDWIN.Reset_Settings());
|
||||
|
||||
//
|
||||
@ -3214,6 +3213,11 @@ void MarlinSettings::reset() {
|
||||
//
|
||||
TERN_(DGUS_LCD_UI_MKS, MKS_reset_settings());
|
||||
|
||||
//
|
||||
// Ender-3 V2 with ProUI
|
||||
//
|
||||
TERN_(DWIN_LCD_PROUI, DWIN_SetDataDefaults());
|
||||
|
||||
postprocess();
|
||||
|
||||
#if EITHER(EEPROM_CHITCHAT, DEBUG_LEVELING_FEATURE)
|
||||
|
Reference in New Issue
Block a user