浏览代码

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

Include this board with other Cheetah stepper reset.
George Fu 5 年前
父节点
当前提交
992dc14c86
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      Marlin/src/sd/cardreader.cpp

+ 2
- 1
Marlin/src/sd/cardreader.cpp 查看文件

@@ -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?

正在加载...
取消
保存