parent
9c7344487a
commit
fe7f5ca7f4
@ -2381,10 +2381,12 @@ void Draw_AdvSet_Menu() {
|
|||||||
#endif
|
#endif
|
||||||
if (AVISI(ADVSET_CASE_HEPID)) Draw_Menu_Line(ASCROL(ADVSET_CASE_HEPID), ICON_PIDNozzle, "Hotend PID", false); // Nozzle PID
|
if (AVISI(ADVSET_CASE_HEPID)) Draw_Menu_Line(ASCROL(ADVSET_CASE_HEPID), ICON_PIDNozzle, "Hotend PID", false); // Nozzle PID
|
||||||
if (AVISI(ADVSET_CASE_BEDPID)) Draw_Menu_Line(ASCROL(ADVSET_CASE_BEDPID), ICON_PIDbed, "Bed PID", false); // Bed PID
|
if (AVISI(ADVSET_CASE_BEDPID)) Draw_Menu_Line(ASCROL(ADVSET_CASE_BEDPID), ICON_PIDbed, "Bed PID", false); // Bed PID
|
||||||
if (AVISI(ADVSET_CASE_PWRLOSSR)) {
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
Draw_Menu_Line(ASCROL(ADVSET_CASE_PWRLOSSR), ICON_Motion, "Power-loss recovery", false); // Power-loss recovery
|
if (AVISI(ADVSET_CASE_PWRLOSSR)) {
|
||||||
Draw_Chkb_Line(ASCROL(ADVSET_CASE_PWRLOSSR), recovery.enabled);
|
Draw_Menu_Line(ASCROL(ADVSET_CASE_PWRLOSSR), ICON_Motion, "Power-loss recovery", false); // Power-loss recovery
|
||||||
}
|
Draw_Chkb_Line(ASCROL(ADVSET_CASE_PWRLOSSR), recovery.enabled);
|
||||||
|
}
|
||||||
|
#endif
|
||||||
if (select_advset.now) Draw_Menu_Cursor(ASCROL(select_advset.now));
|
if (select_advset.now) Draw_Menu_Cursor(ASCROL(select_advset.now));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3409,10 +3411,12 @@ void HMI_AdvSet() {
|
|||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
case ADVSET_CASE_PWRLOSSR: // Power-loss recovery
|
#if ENABLED(POWER_LOSS_RECOVERY)
|
||||||
recovery.enable(!recovery.enabled);
|
case ADVSET_CASE_PWRLOSSR: // Power-loss recovery
|
||||||
Draw_Chkb_Line(ADVSET_CASE_PWRLOSSR + MROWS - index_advset, recovery.enabled);
|
recovery.enable(!recovery.enabled);
|
||||||
break;
|
Draw_Chkb_Line(ADVSET_CASE_PWRLOSSR + MROWS - index_advset, recovery.enabled);
|
||||||
|
break;
|
||||||
|
#endif
|
||||||
default: break;
|
default: break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user