Skip to content

Commit 1866deb

Browse files
committed
A correct definition already exists
1 parent 1b59338 commit 1866deb

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Boards.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,12 +465,10 @@ writePort(port, value, bitmask): Write an 8 bit port.
465465
#define TOTAL_PINS 22 // 14 digital + 8 analog
466466
#endif
467467
// These have conflicting(?) definitions in the core for this CPU
468-
#undef IS_PIN_PWM
469468
#undef IS_PIN_ANALOG
470469
#define VERSION_BLINK_PIN 13
471470
#define IS_PIN_DIGITAL(p) ((p) >= 2 && (p) <= 19)
472471
#define IS_PIN_ANALOG(p) ((p) >= 14 && (p) < 14 + TOTAL_ANALOG_PINS)
473-
#define IS_PIN_PWM(p) IS_PIN_DIGITAL(p)
474472
#define IS_PIN_SERVO(p) (IS_PIN_DIGITAL(p) && (p) - 2 < MAX_SERVOS)
475473
#define IS_PIN_I2C(p) ((p) == 18 || (p) == 19)
476474
#define IS_PIN_SPI(p) ((p) == SS || (p) == MOSI || (p) == MISO || (p) == SCK)

0 commit comments

Comments
 (0)