Browse Source

Code reduction this some configurations

When switching noozle and extruder but these operations are done by the same servo in 'setup' function there is a unnecessary call
GMagician 7 years ago
parent
commit
b94a1c6b9f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -13484,7 +13484,7 @@ void setup() {
13484 13484
     setup_endstop_interrupts();
13485 13485
   #endif
13486 13486
 
13487
-  #if ENABLED(SWITCHING_EXTRUDER)
13487
+  #if ENABLED(SWITCHING_EXTRUDER) && !DONT_SWITCH
13488 13488
     move_extruder_servo(0);  // Initialize extruder servo
13489 13489
   #endif
13490 13490
 

Loading…
Cancel
Save