0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-02-16 22:37:35 +00:00

🚸 Prefer friendly Power Off over Auto-unalive

This commit is contained in:
Scott Lahteine 2024-06-08 17:13:20 -05:00
parent af8747ec69
commit aa778c3cb0

View file

@ -112,9 +112,9 @@ void GcodeSuite::M81() {
return; return;
} }
#if HAS_SUICIDE #if ENABLED(PSU_CONTROL)
suicide();
#elif ENABLED(PSU_CONTROL)
powerManager.power_off_soon(); powerManager.power_off_soon();
#elif HAS_SUICIDE
suicide();
#endif #endif
} }