Added missing include to fix build error on arduino-esp32 v3.0.0-alpha3

This commit is contained in:
Meik Jaeckle
2024-02-08 16:42:52 +01:00
committed by GitHub
parent dbf203344f
commit da50f912a8
+1
View File
@@ -157,6 +157,7 @@ bool directRead(IO_REG_TYPE mask)
#elif defined(ARDUINO_ARCH_ESP32)
#include <driver/rtc_io.h>
#include <soc/gpio_struct.h>
#define PIN_TO_BASEREG(pin) (0)
#define PIN_TO_BITMASK(pin) (pin)
#define IO_REG_TYPE uint32_t