We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a83f784 commit e7f0458Copy full SHA for e7f0458
cores/arduino/ard_sup/ap3_gpio.h
@@ -45,7 +45,7 @@ extern const am_hal_gpio_pincfg_t g_AM_HAL_GPIO_INPUT_PULLDOWN;
45
#define AP3_GPIO_IS_VALID(pad) ((pad >= 0) && (pad < AP3_GPIO_MAX_PADS))
46
47
extern ap3_gpio_pad_t ap3_gpio_pin2pad(ap3_gpio_pin_t pin);
48
-#define AP3_GPIO_PAD_UNUSED (-1)
+#define AP3_GPIO_PAD_UNUSED (255)
49
50
#define AP3_GPIO_DEFAULT_PINCFG AP3_GPIO_PINCFG_NULL
51
0 commit comments