Skip to content

Commit

Permalink
Fix compilation failure in M1001
Browse files Browse the repository at this point in the history
Fixes undeclared reference to card in M1001 introduced by PR#21840

Fixes: MarlinFirmware#21850
  • Loading branch information
kad committed May 13, 2021
1 parent e72fe0a commit 9986367
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Marlin/src/gcode/sd/M1001.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
#include "../gcode.h"
#include "../../module/planner.h"
#include "../../module/printcounter.h"

#if DISABLED(NO_SD_AUTOSTART)
#include "../../sd/cardreader.h"
#endif
#include "../../sd/cardreader.h"

#ifdef SD_FINISHED_RELEASECOMMAND
#include "../queue.h"
Expand Down

0 comments on commit 9986367

Please sign in to comment.