Skip to content

Commit 2baf49a

Browse files
committed
🚸 Allow one servo with cutter on RAMPS
1 parent 10ce88f commit 2baf49a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/pins/ramps/pins_RAMPS.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@
270270
// M3/M4/M5 - Spindle/Laser Control
271271
//
272272
#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
274274
#define SPINDLE_LASER_ENA_PIN 4 // Pullup or pulldown!
275275
#define SPINDLE_LASER_PWM_PIN 6 // Hardware PWM
276276
#define SPINDLE_DIR_PIN 5

0 commit comments

Comments
 (0)