Browse Source

Merge pull request #6951 from fixoid/patch-4

Initializing extruder/nozzle servo when turning on the printer
pull/1/head
Scott Lahteine 8 years ago
committed by GitHub
parent
commit
c5e0f08e35
  1. 8
      Marlin/Marlin_main.cpp

8
Marlin/Marlin_main.cpp

@ -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…
Cancel
Save