MCPcopy Create free account
hub / github.com/MarlinFirmware/Marlin / enable_extruder

Method enable_extruder

Marlin/src/module/stepper.cpp:590–596  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers 3

Enable_E0Function · 0.45
tool_changeMethod · 0.45
mmu_continue_loadingMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected