1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 15:26:18 +00:00

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();