We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c47a8dc commit fea2125Copy full SHA for fea2125
variants/esp32c3/pins_arduino.h
@@ -15,7 +15,7 @@ static const uint8_t LED_BUILTIN = SOC_GPIO_PIN_COUNT+8;
15
#define RGB_BRIGHTNESS 64
16
17
#define analogInputToDigitalPin(p) (((p)<NUM_ANALOG_INPUTS)?(analogChannelToDigitalPin(p)):-1)
18
-#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):-1)
+#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):NOT_AN_INTERRUP)
19
#define digitalPinHasPWM(p) (p < EXTERNAL_NUM_INTERRUPTS)
20
21
static const uint8_t TX = 21;
0 commit comments