|
@@ -100,13 +100,11 @@ void PrintJobRecovery::changed() {
|
100
|
100
|
* If a saved state exists send 'M1000 S' to initiate job recovery.
|
101
|
101
|
*/
|
102
|
102
|
void PrintJobRecovery::check() {
|
103
|
|
- if (enabled) {
|
104
|
|
- if (!card.isMounted()) card.mount();
|
105
|
|
- if (card.isMounted()) {
|
106
|
|
- load();
|
107
|
|
- if (!valid()) return purge();
|
108
|
|
- queue.inject_P(PSTR("M1000 S"));
|
109
|
|
- }
|
|
103
|
+ //if (!card.isMounted()) card.mount();
|
|
104
|
+ if (card.isMounted()) {
|
|
105
|
+ load();
|
|
106
|
+ if (!valid()) return purge();
|
|
107
|
+ queue.inject_P(PSTR("M1000 S"));
|
110
|
108
|
}
|
111
|
109
|
}
|
112
|
110
|
|