소스 검색

Merge pull request #9231 from GMagician/2.0.x-ramps-pins-fixup

[2.0.x] Expand RAMP case light possibilities
Scott Lahteine 7 년 전
부모
커밋
0c176c677e
No account linked to committer's email address
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/pins/pins_RAMPS.h

+ 1
- 1
Marlin/src/pins/pins_RAMPS.h 파일 보기

@@ -264,7 +264,7 @@
264 264
 #endif
265 265
 
266 266
 #if ENABLED(CASE_LIGHT_ENABLE) && !PIN_EXISTS(CASE_LIGHT) && !defined(SPINDLE_LASER_ENABLE_PIN)
267
-  #if !defined(NUM_SERVOS) || NUM_SERVOS == 0 // try to use servo connector first
267
+  #if !defined(NUM_SERVOS) || NUM_SERVOS <= 1 // try to use servo connector first
268 268
     #define CASE_LIGHT_PIN   6      // MUST BE HARDWARE PWM
269 269
   #elif !(ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL) \
270 270
       && (ENABLED(PANEL_ONE) || ENABLED(VIKI2) || ENABLED(miniVIKI) || ENABLED(MINIPANEL) || ENABLED(REPRAPWORLD_KEYPAD)))  // try to use AUX 2

Loading…
취소
저장