0
0
Fork 0
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:
Scott Lahteine 2024-08-28 00:41:09 -05:00
parent 9e87af70b7
commit 94e9f26544

View file

@ -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 ".");