From b94a1c6b9f05b743bb99344c9934d3c4bf88e31d Mon Sep 17 00:00:00 2001 From: GMagician Date: Fri, 18 Aug 2017 11:11:00 +0200 Subject: [PATCH] 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 --- Marlin/Marlin_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index b25cf0097..93a539369 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -13484,7 +13484,7 @@ void setup() { setup_endstop_interrupts(); #endif - #if ENABLED(SWITCHING_EXTRUDER) + #if ENABLED(SWITCHING_EXTRUDER) && !DONT_SWITCH move_extruder_servo(0); // Initialize extruder servo #endif