From 6937af0f0bc106fa380876ab9862cf8758650c38 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Fri, 1 Sep 2023 10:25:55 +0200 Subject: [PATCH] make output_open_drain pin readable --- cores/esp32/esp32-hal-gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/esp32/esp32-hal-gpio.h b/cores/esp32/esp32-hal-gpio.h index 9f143811685..69b55178d3f 100644 --- a/cores/esp32/esp32-hal-gpio.h +++ b/cores/esp32/esp32-hal-gpio.h @@ -51,7 +51,7 @@ extern "C" { #define PULLDOWN 0x08 #define INPUT_PULLDOWN 0x09 #define OPEN_DRAIN 0x10 -#define OUTPUT_OPEN_DRAIN 0x12 +#define OUTPUT_OPEN_DRAIN 0x13 #define ANALOG 0xC0 //Interrupt Modes