Browse Source

Fixed displaying of kill MSG_OUTAGE_RECOVERY string. (#12470)

Roman Moravčík 6 years ago
parent
commit
5fbe5cabc8
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/feature/power_loss_recovery.cpp

+ 1
- 1
Marlin/src/feature/power_loss_recovery.cpp View File

197
 
197
 
198
     // KILL now if the power-loss pin was triggered
198
     // KILL now if the power-loss pin was triggered
199
     #if PIN_EXISTS(POWER_LOSS)
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
     #endif
201
     #endif
202
   }
202
   }
203
 }
203
 }

Loading…
Cancel
Save