Skip to content

Commit 6c48901

Browse files
committed
This also is no longer used
1 parent 1866deb commit 6c48901

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Boards.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -464,11 +464,8 @@ writePort(port, value, bitmask): Write an 8 bit port.
464464
#define TOTAL_ANALOG_PINS 8
465465
#define TOTAL_PINS 22 // 14 digital + 8 analog
466466
#endif
467-
// These have conflicting(?) definitions in the core for this CPU
468-
#undef IS_PIN_ANALOG
469467
#define VERSION_BLINK_PIN 13
470468
#define IS_PIN_DIGITAL(p) ((p) >= 2 && (p) <= 19)
471-
#define IS_PIN_ANALOG(p) ((p) >= 14 && (p) < 14 + TOTAL_ANALOG_PINS)
472469
#define IS_PIN_SERVO(p) (IS_PIN_DIGITAL(p) && (p) - 2 < MAX_SERVOS)
473470
#define IS_PIN_I2C(p) ((p) == 18 || (p) == 19)
474471
#define IS_PIN_SPI(p) ((p) == SS || (p) == MOSI || (p) == MISO || (p) == SCK)

0 commit comments

Comments
 (0)