Skip to content

Commit 3cdaed5

Browse files
authored
revert remove of defines
since it is a uneeded braking change. For example this library do not compile without https://github.com/earlephilhower/ESP8266Audio
1 parent 6cfe461 commit 3cdaed5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cores/esp32/esp32-hal-gpio.h

+7
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ extern "C" {
4949
#define INPUT_PULLDOWN 0x09
5050
#define OPEN_DRAIN 0x10
5151
#define OUTPUT_OPEN_DRAIN 0x12
52+
#define SPECIAL 0xF0
53+
#define FUNCTION_1 0x00
54+
#define FUNCTION_2 0x20
55+
#define FUNCTION_3 0x40
56+
#define FUNCTION_4 0x60
57+
#define FUNCTION_5 0x80
58+
#define FUNCTION_6 0xA0
5259
#define ANALOG 0xC0
5360

5461
//Interrupt Modes

0 commit comments

Comments
 (0)