Browse Source

🐛 Fix MMU1 compile (#22965)

ellensp 3 years ago
parent
commit
ec57879c59
No account linked to committer's email address
2 changed files with 7 additions and 3 deletions
  1. 4
    0
      Marlin/src/MarlinCore.cpp
  2. 3
    3
      Marlin/src/feature/mmu/mmu.cpp

+ 4
- 0
Marlin/src/MarlinCore.cpp View File

@@ -216,6 +216,10 @@
216 216
   #include "feature/controllerfan.h"
217 217
 #endif
218 218
 
219
+#if HAS_PRUSA_MMU1
220
+  #include "feature/mmu/mmu.h"
221
+#endif
222
+
219 223
 #if HAS_PRUSA_MMU2
220 224
   #include "feature/mmu/mmu2.h"
221 225
 #endif

+ 3
- 3
Marlin/src/feature/mmu/mmu.cpp View File

@@ -24,9 +24,9 @@
24 24
 
25 25
 #if HAS_PRUSA_MMU1
26 26
 
27
-#include "../MarlinCore.h"
28
-#include "../module/planner.h"
29
-#include "../module/stepper.h"
27
+#include "../../MarlinCore.h"
28
+#include "../../module/planner.h"
29
+#include "../../module/stepper.h"
30 30
 
31 31
 void mmu_init() {
32 32
   SET_OUTPUT(E_MUX0_PIN);

Loading…
Cancel
Save