Browse Source

✏️ MMU2 followup (#24770)

Followup to #24750
FBN 1 year ago
parent
commit
6fdf9bf2ea
No account linked to committer's email address
2 changed files with 3 additions and 1 deletions
  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 View File

@@ -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 View File

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

Loading…
Cancel
Save