Browse Source

🐛 Fix MMU1 compile (#22965)

vanilla_fb_2.0.x
ellensp 3 years ago
committed by Scott Lahteine
parent
commit
e7a746966d
  1. 4
      Marlin/src/MarlinCore.cpp
  2. 6
      Marlin/src/feature/mmu/mmu.cpp

4
Marlin/src/MarlinCore.cpp

@ -216,6 +216,10 @@
#include "feature/controllerfan.h" #include "feature/controllerfan.h"
#endif #endif
#if HAS_PRUSA_MMU1
#include "feature/mmu/mmu.h"
#endif
#if HAS_PRUSA_MMU2 #if HAS_PRUSA_MMU2
#include "feature/mmu/mmu2.h" #include "feature/mmu/mmu2.h"
#endif #endif

6
Marlin/src/feature/mmu/mmu.cpp

@ -24,9 +24,9 @@
#if HAS_PRUSA_MMU1 #if HAS_PRUSA_MMU1
#include "../MarlinCore.h" #include "../../MarlinCore.h"
#include "../module/planner.h" #include "../../module/planner.h"
#include "../module/stepper.h" #include "../../module/stepper.h"
void mmu_init() { void mmu_init() {
SET_OUTPUT(E_MUX0_PIN); SET_OUTPUT(E_MUX0_PIN);

Loading…
Cancel
Save