Fix PLR when card isn't mounted yet

Fixes a regression from 9bff67bc74
This commit is contained in:
Scott Lahteine 2020-04-12 14:43:04 -05:00
parent 7894937737
commit a2e9a02429

View file

@ -100,7 +100,7 @@ void PrintJobRecovery::changed() {
* If a saved state exists send 'M1000 S' to initiate job recovery. * If a saved state exists send 'M1000 S' to initiate job recovery.
*/ */
void PrintJobRecovery::check() { void PrintJobRecovery::check() {
//if (!card.isMounted()) card.mount(); if (!card.isMounted()) card.mount();
if (card.isMounted()) { if (card.isMounted()) {
load(); load();
if (!valid()) return purge(); if (!valid()) return purge();