Merge pull request #6951 from fixoid/patch-4

Initializing extruder/nozzle servo when turning on the printer
This commit is contained in:
Scott Lahteine 2017-06-04 12:13:05 -05:00 committed by GitHub
commit c5e0f08e35

View File

@ -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
} }
/** /**