소스 검색

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 년 전
부모
커밋
b94a1c6b9f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp 파일 보기

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

Loading…
취소
저장