| 588 | #if HAS_EXTRUDERS |
| 589 | |
| 590 | void Stepper::enable_extruder(E_TERN_(const uint8_t eindex)) { |
| 591 | IF_DISABLED(HAS_MULTI_EXTRUDER, constexpr uint8_t eindex = 0); |
| 592 | #define _CASE_ENA_E(N) case N: ENABLE_AXIS_E##N(); mark_axis_enabled(E_AXIS E_OPTARG(eindex)); break; |
| 593 | switch (eindex) { |
| 594 | REPEAT(E_STEPPERS, _CASE_ENA_E) |
| 595 | } |
| 596 | } |
| 597 | |
| 598 | bool Stepper::disable_extruder(E_TERN_(const uint8_t eindex/*=0*/)) { |
| 599 | IF_DISABLED(HAS_MULTI_EXTRUDER, constexpr uint8_t eindex = 0); |
no outgoing calls
no test coverage detected