ソースを参照

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 6年前
コミット
b94a1c6b9f
1個のファイルの変更1行の追加1行の削除
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp ファイルの表示

@@ -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
 

読み込み中…
キャンセル
保存