🐛 Fix conditional M81 suicide (#23549)
This commit is contained in:
committed by
Scott Lahteine
parent
6f82d1befb
commit
7b4f5108ac
@ -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();
|
||||
|
Reference in New Issue
Block a user