Skip to content

Commit e7f0458

Browse files
author
Nathan Seidle
committed
Change UNUSED def to avoid compiler errors
1 parent a83f784 commit e7f0458

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/ard_sup/ap3_gpio.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ extern const am_hal_gpio_pincfg_t g_AM_HAL_GPIO_INPUT_PULLDOWN;
4545
#define AP3_GPIO_IS_VALID(pad) ((pad >= 0) && (pad < AP3_GPIO_MAX_PADS))
4646

4747
extern ap3_gpio_pad_t ap3_gpio_pin2pad(ap3_gpio_pin_t pin);
48-
#define AP3_GPIO_PAD_UNUSED (-1)
48+
#define AP3_GPIO_PAD_UNUSED (255)
4949

5050
#define AP3_GPIO_DEFAULT_PINCFG AP3_GPIO_PINCFG_NULL
5151

0 commit comments

Comments
 (0)