Fix M1001 auto-check logic (#20456)

This commit is contained in:
kisslorand authored and Scott Lahteine committed 2021-04-29 08:45:09 -05:00
1 parent 0b0eb6a119
commit a59164d5c8
1 file changed
+1 -1
+1 -1
View File
@@ -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());