mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-23 20:18:52 +00:00
Always look for PLR file, but more quickly
This commit is contained in:
parent
8bbcbc528c
commit
9bff67bc74
@ -100,15 +100,13 @@ void PrintJobRecovery::changed() {
|
||||
* If a saved state exists send 'M1000 S' to initiate job recovery.
|
||||
*/
|
||||
void PrintJobRecovery::check() {
|
||||
if (enabled) {
|
||||
if (!card.isMounted()) card.mount();
|
||||
//if (!card.isMounted()) card.mount();
|
||||
if (card.isMounted()) {
|
||||
load();
|
||||
if (!valid()) return purge();
|
||||
queue.inject_P(PSTR("M1000 S"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Delete the recovery file and clear the recovery data
|
||||
|
Loading…
Reference in New Issue
Block a user