Skip to content

Commit dd5d2da

Browse files
committed
fix: remove globally defined variables in pins_arduino.h
fix: remove globally defined variables in pins_arduino.h
1 parent 6c1e1eb commit dd5d2da

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

variants/Geekble_ESP32C3/pins_arduino.h

-8
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@
33

44
#include <stdint.h>
55

6-
#define EXTERNAL_NUM_INTERRUPTS 22
7-
#define NUM_DIGITAL_PINS 22
8-
#define NUM_ANALOG_INPUTS 6
9-
10-
#define analogInputToDigitalPin(p) (((p)<NUM_ANALOG_INPUTS)?(analogChannelToDigitalPin(p)):-1)
11-
#define digitalPinToInterrupt(p) (((p)<NUM_DIGITAL_PINS)?(p):-1)
12-
#define digitalPinHasPWM(p) (p < EXTERNAL_NUM_INTERRUPTS)
13-
146
static const uint8_t LED_BUILTIN = 8;
157
#define BUILTIN_LED LED_BUILTIN // backward compatibility
168
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN

0 commit comments

Comments
 (0)