From 97da93fbb8e41a1e38524e3486f7f73be690034b Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sun, 18 Nov 2018 18:06:14 -0600 Subject: [PATCH] Fix kill with MSG_POWER_LOSS_RECOVERY --- Marlin/power_loss_recovery.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/power_loss_recovery.cpp b/Marlin/power_loss_recovery.cpp index fef41f3a49..c75481aab3 100644 --- a/Marlin/power_loss_recovery.cpp +++ b/Marlin/power_loss_recovery.cpp @@ -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 } }