1
0
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:
Scott Lahteine 2018-11-18 18:06:14 -06:00
parent 7cb162ab3e
commit 6f0fa90edb

View File

@ -276,7 +276,7 @@ void save_job_recovery_info() {
// If power-loss pin was triggered, write just once then kill // If power-loss pin was triggered, write just once then kill
#if PIN_EXISTS(POWER_LOSS) #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 #endif
} }
} }