🐛 Fix MMU compile with >5 EXTRUDERS (#22036)
This commit is contained in:
committed by
Scott Lahteine
parent
ce95f56ac8
commit
04bea72787
@ -24,7 +24,14 @@
|
||||
|
||||
#if HAS_PRUSA_MMU1
|
||||
|
||||
#include "../module/stepper.h"
|
||||
#include "../MarlinCore.h"
|
||||
#include "../module/planner.h"
|
||||
|
||||
void mmu_init() {
|
||||
SET_OUTPUT(E_MUX0_PIN);
|
||||
SET_OUTPUT(E_MUX1_PIN);
|
||||
SET_OUTPUT(E_MUX2_PIN);
|
||||
}
|
||||
|
||||
void select_multiplexed_stepper(const uint8_t e) {
|
||||
planner.synchronize();
|
||||
|
@ -21,4 +21,5 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
void mmu_init();
|
||||
void select_multiplexed_stepper(const uint8_t e);
|
||||
|
Reference in New Issue
Block a user