Skip to content

Commit

Permalink
🚸 Prefer friendly Power Off over Auto-unalive
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jun 16, 2024
1 parent af8747e commit aa778c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Marlin/src/gcode/control/M80_M81.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ void GcodeSuite::M81() {
return;
}

#if HAS_SUICIDE
suicide();
#elif ENABLED(PSU_CONTROL)
#if ENABLED(PSU_CONTROL)
powerManager.power_off_soon();
#elif HAS_SUICIDE
suicide();
#endif
}

0 comments on commit aa778c3

Please sign in to comment.