mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-22 17:52:57 +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);
|
||||
#endif
|
||||
|
||||
TERN_(POWER_LOSS_RECOVERY, recovery.purge()); // Clear PLR on intentional shutdown
|
||||
|
||||
safe_delay(1000); // Wait 1 second before switching off
|
||||
|
||||
LCD_MESSAGE_F(MACHINE_NAME " " STR_OFF ".");
|
||||
|
|
Loading…
Reference in a new issue