Merge pull request #6951 from fixoid/patch-4
Initializing extruder/nozzle servo when turning on the printer
This commit is contained in:
commit
c5e0f08e35
|
@ -12728,6 +12728,14 @@ void setup() {
|
||||||
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
|
#if ENABLED(ENDSTOP_INTERRUPTS_FEATURE)
|
||||||
setup_endstop_interrupts();
|
setup_endstop_interrupts();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(SWITCHING_EXTRUDER)
|
||||||
|
move_extruder_servo(0); // Initialize extruder servo
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(SWITCHING_NOZZLE)
|
||||||
|
move_nozzle_servo(0); // Initialize nozzle servo
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue