Bladeren bron

Fix M1001 auto-check logic (#20456)

kisslorand 4 jaren geleden
bovenliggende
commit
7be57ff9f0
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      Marlin/src/gcode/sd/M1001.cpp

+ 1
- 1
Marlin/src/gcode/sd/M1001.cpp Bestand weergeven

@@ -65,7 +65,7 @@
65 65
  */
66 66
 void GcodeSuite::M1001() {
67 67
   // If there's another auto#.g file to run...
68
-  if (TERN(NO_SD_AUTOSTART, false, card.autofile_check())) return;
68
+  if (TERN(NO_SD_AUTOSTART, false, !card.autofile_check())) return;
69 69
 
70 70
   // Purge the recovery file...
71 71
   TERN_(POWER_LOSS_RECOVERY, recovery.purge());

Laden…
Annuleren
Opslaan