Skip to content

Commit aa778c3

Browse files
committedJun 16, 2024
🚸 Prefer friendly Power Off over Auto-unalive

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎Marlin/src/gcode/control/M80_M81.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,9 @@ void GcodeSuite::M81() {
112112
return;
113113
}
114114

115-
#if HAS_SUICIDE
116-
suicide();
117-
#elif ENABLED(PSU_CONTROL)
115+
#if ENABLED(PSU_CONTROL)
118116
powerManager.power_off_soon();
117+
#elif HAS_SUICIDE
118+
suicide();
119119
#endif
120120
}

0 commit comments

Comments
 (0)
Please sign in to comment.