소스 검색

🚸 Allow one servo with cutter on RAMPS

Scott Lahteine 3 년 전
부모
커밋
2baf49af93
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/pins/ramps/pins_RAMPS.h

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

@@ -270,7 +270,7 @@
270 270
 // M3/M4/M5 - Spindle/Laser Control
271 271
 //
272 272
 #if HAS_CUTTER && !defined(SPINDLE_LASER_ENA_PIN)
273
-  #if !NUM_SERVOS                                 // Use servo connector if possible
273
+  #if NUM_SERVOS < 2                              // Use servo connector if possible
274 274
     #define SPINDLE_LASER_ENA_PIN              4  // Pullup or pulldown!
275 275
     #define SPINDLE_LASER_PWM_PIN              6  // Hardware PWM
276 276
     #define SPINDLE_DIR_PIN                    5

Loading…
취소
저장