瀏覽代碼

🚸 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…
取消
儲存