0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-02-17 06:48:05 +00:00

Fix PLR file delete bug (#13860)

This commit is contained in:
Robby Candra 2019-05-05 11:30:48 +07:00 committed by Scott Lahteine
parent 09f1b58146
commit 79955f0c89

View file

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