Przeglądaj źródła

🚸 Allow one servo with cutter on RAMPS

Scott Lahteine 3 lat temu
rodzic
commit
2baf49af93
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      Marlin/src/pins/ramps/pins_RAMPS.h

+ 1
- 1
Marlin/src/pins/ramps/pins_RAMPS.h Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz