mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-17 06:48:05 +00:00
Fix M1001 auto-check logic (#20456)
This commit is contained in:
parent
81a0206df8
commit
7be57ff9f0
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@
|
|||
*/
|
||||
void GcodeSuite::M1001() {
|
||||
// If there's another auto#.g file to run...
|
||||
if (TERN(NO_SD_AUTOSTART, false, card.autofile_check())) return;
|
||||
if (TERN(NO_SD_AUTOSTART, false, !card.autofile_check())) return;
|
||||
|
||||
// Purge the recovery file...
|
||||
TERN_(POWER_LOSS_RECOVERY, recovery.purge());
|
||||
|
|
Loading…
Reference in a new issue