Browse Source

Put #ifdef around servo pins in pins.h. This allows the pins to be used for M42.

pull/1/head
Erik van der Zalm 12 years ago
parent
commit
7231a20dba
  1. 16
      Marlin/pins.h

16
Marlin/pins.h

@ -375,10 +375,18 @@
#define HEATER_BED_PIN 8 // BED
#define TEMP_BED_PIN 14 // ANALOG NUMBERING
#define SERVO0_PIN 11
#define SERVO1_PIN 6
#define SERVO2_PIN 5
#define SERVO3_PIN 4
#ifdef NUM_SERVOS
#define SERVO0_PIN 11
#if NUM_SERVOS > 1
#define SERVO1_PIN 6
#endif
#if NUM_SERVOS > 2
#define SERVO2_PIN 5
#endif
#if NUM_SERVOS > 2
#define SERVO3_PIN 4
#endif
#endif
#ifdef ULTRA_LCD

Loading…
Cancel
Save