Initializing extruder/nozzle servo when when turning on the printer

This commit is contained in:
fixoid 2017-06-04 16:40:57 +03:00
parent 9f295581f0
commit 1aab9906e6

View file

@ -12723,6 +12723,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
} }
/** /**