From 49afcf42dd76438ea8fd7f26653cceb8c95ca551 Mon Sep 17 00:00:00 2001 From: Jan Prochazka <90197375+P-R-O-C-H-Y@users.noreply.github.com> Date: Wed, 24 Jul 2024 14:53:06 +0200 Subject: [PATCH] fix(gpio): Add missing include for digitalPinCanOutput --- cores/esp32/esp32-hal-gpio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/cores/esp32/esp32-hal-gpio.h b/cores/esp32/esp32-hal-gpio.h index f92209cc29e..4547d90cc56 100644 --- a/cores/esp32/esp32-hal-gpio.h +++ b/cores/esp32/esp32-hal-gpio.h @@ -27,6 +27,7 @@ extern "C" { #include "esp32-hal.h" #include "soc/soc_caps.h" #include "pins_arduino.h" +#include "driver/gpio.h" #if (CONFIG_IDF_TARGET_ESP32S2 || CONFIG_IDF_TARGET_ESP32S3) #define NUM_OUPUT_PINS 46