🧑💻 Misc. LCD cleanup
This commit is contained in:
@@ -1517,7 +1517,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
|
||||
@@ -2493,7 +2493,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)
|
||||
{
|
||||
@@ -2929,7 +2929,6 @@ void MarlinSettings::reset() {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
TERN_(DWIN_LCD_PROUI, DWIN_SetDataDefaults());
|
||||
TERN_(DWIN_CREALITY_LCD_JYERSUI, CrealityDWIN.Reset_Settings());
|
||||
|
||||
//
|
||||
@@ -3304,6 +3303,11 @@ void MarlinSettings::reset() {
|
||||
//
|
||||
TERN_(DGUS_LCD_UI_MKS, MKS_reset_settings());
|
||||
|
||||
//
|
||||
// Ender-3 V2 with ProUI
|
||||
//
|
||||
TERN_(DWIN_LCD_PROUI, DWIN_SetDataDefaults());
|
||||
|
||||
//
|
||||
// Model predictive control
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user