0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-22 17:52:57 +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 eb0b685c55
commit 97da93fbb8

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
} }
} }