Browse Source

Fix FYSETC CHEETAH V1.2 SD re-insert (#18474)

Include this board with other Cheetah stepper reset.
George Fu 5 years ago
parent
commit
992dc14c86
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      Marlin/src/sd/cardreader.cpp

+ 2
- 1
Marlin/src/sd/cardreader.cpp View File

@@ -37,6 +37,7 @@
37 37
 #include "../module/printcounter.h"
38 38
 #include "../gcode/queue.h"
39 39
 #include "../module/configuration_store.h"
40
+#include "../module/stepper/indirection.h"
40 41
 
41 42
 #if ENABLED(EMERGENCY_PARSER)
42 43
   #include "../feature/e_parser.h"
@@ -402,7 +403,7 @@ void CardReader::manage_media() {
402 403
     if (stat) {                       // Media Inserted
403 404
       safe_delay(500);                // Some boards need a delay to get settled
404 405
       mount();                        // Try to mount the media
405
-      #if MB(FYSETC_CHEETAH, FYSETC_AIO_II)
406
+      #if MB(FYSETC_CHEETAH, FYSETC_CHEETAH_V12, FYSETC_AIO_II)
406 407
         reset_stepper_drivers();      // Workaround for Cheetah bug
407 408
       #endif
408 409
       if (!isMounted()) stat = 0;     // Not mounted?

Loading…
Cancel
Save