Merge pull request #134 from meikjaeckle/fix-arduino-esp32-v3-alpha-build-error

Fix build error on arduino-esp32 v3.0.0-alphaX
This commit is contained in:
Paul Stoffregen
2024-02-08 08:18:46 -08:00
committed by GitHub
+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