Ver código fonte

Fixed displaying of kill MSG_OUTAGE_RECOVERY string. (#12470)

Roman Moravčík 6 anos atrás
pai
commit
5fbe5cabc8
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      Marlin/src/feature/power_loss_recovery.cpp

+ 1
- 1
Marlin/src/feature/power_loss_recovery.cpp Ver arquivo

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

Carregando…
Cancelar
Salvar