From 3cdaed58d853b142738b69992d0d88faf85d3358 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 9 Apr 2022 11:25:37 +0200 Subject: [PATCH] revert remove of defines since it is a uneeded braking change. For example this library do not compile without https://github.com/earlephilhower/ESP8266Audio --- cores/esp32/esp32-hal-gpio.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cores/esp32/esp32-hal-gpio.h b/cores/esp32/esp32-hal-gpio.h index 74f58c43b5a..57714e65ce7 100644 --- a/cores/esp32/esp32-hal-gpio.h +++ b/cores/esp32/esp32-hal-gpio.h @@ -49,6 +49,13 @@ extern "C" { #define INPUT_PULLDOWN 0x09 #define OPEN_DRAIN 0x10 #define OUTPUT_OPEN_DRAIN 0x12 +#define SPECIAL 0xF0 +#define FUNCTION_1 0x00 +#define FUNCTION_2 0x20 +#define FUNCTION_3 0x40 +#define FUNCTION_4 0x60 +#define FUNCTION_5 0x80 +#define FUNCTION_6 0xA0 #define ANALOG 0xC0 //Interrupt Modes