🐛 Fix conditional M81 suicide (#23549)

This commit is contained in:
John Lagonikas authored and Scott Lahteine committed 2022-05-07 15:27:20 -05:00
1 parent 6f82d1befb
commit 7b4f5108ac
8 files changed
+27 -10

No files matched your search

+4 -1
View File
@@ -107,7 +107,10 @@ void GcodeSuite::M81() {
}
#endif
if (delayed_power_off) return;
if (delayed_power_off) {
SERIAL_ECHOLNPGM(STR_DELAYED_POWEROFF);
return;
}
#if HAS_SUICIDE
suicide();