Skip to content
Snippets Groups Projects
Commit 9bff67bc authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Always look for PLR file, but more quickly

parent 8bbcbc52
No related branches found
No related tags found
No related merge requests found
......@@ -100,13 +100,11 @@ 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()) {
load();
if (!valid()) return purge();
queue.inject_P(PSTR("M1000 S"));
}
//if (!card.isMounted()) card.mount();
if (card.isMounted()) {
load();
if (!valid()) return purge();
queue.inject_P(PSTR("M1000 S"));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment