🚸 Update Ender3 V2/S1 Pro UI (#23878)
This commit is contained in:
committed by
Scott Lahteine
parent
b045c91f26
commit
eabeac29fd
@ -1467,16 +1467,18 @@ void MarlinSettings::postprocess() {
|
||||
//
|
||||
#if ENABLED(DWIN_LCD_PROUI)
|
||||
{
|
||||
_FIELD_TEST(dwin_data);
|
||||
char dwin_data[eeprom_data_size] = { 0 };
|
||||
DWIN_StoreSettings(dwin_data);
|
||||
_FIELD_TEST(dwin_data);
|
||||
EEPROM_WRITE(dwin_data);
|
||||
}
|
||||
#elif ENABLED(DWIN_CREALITY_LCD_JYERSUI)
|
||||
#endif
|
||||
|
||||
#if ENABLED(DWIN_CREALITY_LCD_JYERSUI)
|
||||
{
|
||||
_FIELD_TEST(dwin_settings);
|
||||
char dwin_settings[CrealityDWIN.eeprom_data_size] = { 0 };
|
||||
CrealityDWIN.Save_Settings(dwin_settings);
|
||||
_FIELD_TEST(dwin_settings);
|
||||
EEPROM_WRITE(dwin_settings);
|
||||
}
|
||||
#endif
|
||||
|
@ -497,6 +497,9 @@ void Stepper::enable_axis(const AxisEnum axis) {
|
||||
|
||||
bool Stepper::disable_axis(const AxisEnum axis) {
|
||||
mark_axis_disabled(axis);
|
||||
|
||||
TERN_(DWIN_LCD_PROUI, set_axis_untrusted(axis)); // MRISCOC workaround: https://github.com/MarlinFirmware/Marlin/issues/23095
|
||||
|
||||
// If all the axes that share the enabled bit are disabled
|
||||
const bool can_disable = can_axis_disable(axis);
|
||||
if (can_disable) {
|
||||
|
@ -821,7 +821,7 @@ volatile bool Temperature::raw_temps_ready = false;
|
||||
hal.idletask();
|
||||
|
||||
// Run UI update
|
||||
TERN(HAS_DWIN_E3V2_BASIC, DWIN_Update(), ui.update());
|
||||
TERN(DWIN_CREALITY_LCD, DWIN_Update(), ui.update());
|
||||
}
|
||||
wait_for_heatup = false;
|
||||
|
||||
|
Reference in New Issue
Block a user