mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-29 23:07:42 +00:00
Fix kill with MSG_POWER_LOSS_RECOVERY
This commit is contained in:
parent
7cb162ab3e
commit
6f0fa90edb
@ -276,7 +276,7 @@ void save_job_recovery_info() {
|
||||
|
||||
// If power-loss pin was triggered, write just once then kill
|
||||
#if PIN_EXISTS(POWER_LOSS)
|
||||
if (READ(POWER_LOSS_PIN) == POWER_LOSS_STATE) kill(MSG_POWER_LOSS_RECOVERY);
|
||||
if (READ(POWER_LOSS_PIN) == POWER_LOSS_STATE) kill(PSTR(MSG_POWER_LOSS_RECOVERY));
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user