Skip to content

Commit 1b59338

Browse files
committed
Fix compilation for UNOR4
1 parent 53bb550 commit 1b59338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Boards.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ writePort(port, value, bitmask): Write an 8 bit port.
470470
#define VERSION_BLINK_PIN 13
471471
#define IS_PIN_DIGITAL(p) ((p) >= 2 && (p) <= 19)
472472
#define IS_PIN_ANALOG(p) ((p) >= 14 && (p) < 14 + TOTAL_ANALOG_PINS)
473-
#define IS_PIN_PWM(p) digitalPinHasPWM(p)
473+
#define IS_PIN_PWM(p) IS_PIN_DIGITAL(p)
474474
#define IS_PIN_SERVO(p) (IS_PIN_DIGITAL(p) && (p) - 2 < MAX_SERVOS)
475475
#define IS_PIN_I2C(p) ((p) == 18 || (p) == 19)
476476
#define IS_PIN_SPI(p) ((p) == SS || (p) == MOSI || (p) == MISO || (p) == SCK)

0 commit comments

Comments
 (0)