Support SWITCHING_NOZZLE with 2 servos (#13054)

This commit is contained in:
Marcio Teixeira
2019-02-03 23:19:56 -07:00
committed by Scott Lahteine
parent 3c88cac2e9
commit 5cfc1cdacc
95 changed files with 253 additions and 105 deletions

View File

@ -966,7 +966,13 @@ void setup() {
#endif
#if ENABLED(SWITCHING_NOZZLE)
move_nozzle_servo(0); // Initialize nozzle servo
// Initialize nozzle servo(s)
#if SWITCHING_NOZZLE_TWO_SERVOS
lower_nozzle(0);
raise_nozzle(1);
#else
move_nozzle_servo(0);
#endif
#endif
#if ENABLED(PARKING_EXTRUDER)