Soft reset printer after disabling mmu

This commit is contained in:
Przemek Grondek 2022-11-26 12:01:12 +01:00
parent 04923a9ec5
commit 8dfc32c246

View File

@ -5183,6 +5183,7 @@ static void disable_mmu_switch()
{ {
MMU_Disabled_from_menu = !MMU_Disabled_from_menu; MMU_Disabled_from_menu = !MMU_Disabled_from_menu;
eeprom_update_byte((unsigned char *)EEPROM_MMU_DISABLED_FROM_MENU, MMU_Disabled_from_menu); eeprom_update_byte((unsigned char *)EEPROM_MMU_DISABLED_FROM_MENU, MMU_Disabled_from_menu);
softReset();
} }
static bool settingsDisableMMUFromMenu() static bool settingsDisableMMUFromMenu()
@ -6144,7 +6145,6 @@ char reset_menu() {
, PSTR("Bowden length") , PSTR("Bowden length")
#endif #endif
}; };
enc_dif = lcd_encoder_diff; enc_dif = lcd_encoder_diff;
lcd_clear(); lcd_clear();
lcd_set_cursor(0, 0); lcd_set_cursor(0, 0);