Browse Source

Fix PLR file delete bug (#13860)

pull/1/head
Robby Candra 6 years ago
committed by Scott Lahteine
parent
commit
79955f0c89
  1. 2
      Marlin/src/sd/cardreader.cpp

2
Marlin/src/sd/cardreader.cpp

@ -1038,7 +1038,7 @@ void CardReader::printingHasFinished() {
#if ENABLED(POWER_LOSS_RECOVERY) #if ENABLED(POWER_LOSS_RECOVERY)
constexpr char job_recovery_file_name[4] = "PLR"; constexpr char job_recovery_file_name[5] = "/PLR";
bool CardReader::jobRecoverFileExists() { bool CardReader::jobRecoverFileExists() {
const bool exists = recovery.file.open(&root, job_recovery_file_name, O_READ); const bool exists = recovery.file.open(&root, job_recovery_file_name, O_READ);

Loading…
Cancel
Save