mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-03-10 08:32:54 +00:00
🚸 Purge PLR on power-off
This commit is contained in:
parent
9e87af70b7
commit
94e9f26544
1 changed files with 2 additions and 0 deletions
|
@ -84,6 +84,8 @@ void GcodeSuite::M81() {
|
||||||
ZERO(thermalManager.saved_fan_speed);
|
ZERO(thermalManager.saved_fan_speed);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
TERN_(POWER_LOSS_RECOVERY, recovery.purge()); // Clear PLR on intentional shutdown
|
||||||
|
|
||||||
safe_delay(1000); // Wait 1 second before switching off
|
safe_delay(1000); // Wait 1 second before switching off
|
||||||
|
|
||||||
LCD_MESSAGE_F(MACHINE_NAME " " STR_OFF ".");
|
LCD_MESSAGE_F(MACHINE_NAME " " STR_OFF ".");
|
||||||
|
|
Loading…
Add table
Reference in a new issue