Fix kill with MSG_POWER_LOSS_RECOVERY

This commit is contained in:
Scott Lahteine committed 2019-09-02 05:38:24 -05:00
1 parent eb0b685c55
commit 97da93fbb8
1 file changed
+1 -1
+1 -1
View File
@@ -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
}
}