Fixed displaying of kill MSG_OUTAGE_RECOVERY string. (#12470)

This commit is contained in:
Roman Moravčík 2018-11-19 01:05:29 +01:00 committed by Scott Lahteine
parent 4ae9a06c60
commit 5fbe5cabc8

View file

@ -197,7 +197,7 @@ void PrintJobRecovery::save(const bool force/*=false*/) {
// KILL now if the power-loss pin was triggered
#if PIN_EXISTS(POWER_LOSS)
if (READ(POWER_LOSS_PIN) == POWER_LOSS_STATE) kill(MSG_OUTAGE_RECOVERY);
if (READ(POWER_LOSS_PIN) == POWER_LOSS_STATE) kill(PSTR(MSG_OUTAGE_RECOVERY));
#endif
}
}