浏览代码

✏️ MMU2 followup (#24770)

Followup to #24750
FBN 2 年前
父节点
当前提交
6fdf9bf2ea
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2
    1
      Marlin/src/feature/mmu/mmu2.cpp
  2. 1
    0
      Marlin/src/feature/mmu/mmu2.h

+ 2
- 1
Marlin/src/feature/mmu/mmu2.cpp 查看文件

@@ -654,11 +654,12 @@ static void mmu2_not_responding() {
654 654
 
655 655
   void MMU2::mmu_continue_loading() {
656 656
     // Try to load the filament a limited number of times
657
+    bool fil_present = 0;
657 658
     for (uint8_t i = 0; i < MMU_LOADING_ATTEMPTS_NR; i++) {
658 659
       DEBUG_ECHOLNPGM("Load attempt #", i + 1);
659 660
 
660 661
       // Done as soon as filament is present
661
-      bool fil_present = FILAMENT_PRESENT();
662
+      fil_present = FILAMENT_PRESENT();
662 663
       if (fil_present) break;
663 664
 
664 665
       // Attempt to load the filament, 1mm at a time, for 3s

+ 1
- 0
Marlin/src/feature/mmu/mmu2.h 查看文件

@@ -86,6 +86,7 @@ private:
86 86
   #endif
87 87
 
88 88
   #if ENABLED(MMU_EXTRUDER_SENSOR)
89
+    #define MMU_LOAD_FEEDRATE 19.02f // (mm/s)
89 90
     static void mmu_continue_loading();
90 91
   #endif
91 92
 

正在加载...
取消
保存