Skip to content

Commit

Permalink
Merge pull request #134 from meikjaeckle/fix-arduino-esp32-v3-alpha-b…
Browse files Browse the repository at this point in the history
…uild-error

Fix build error on arduino-esp32 v3.0.0-alphaX
  • Loading branch information
PaulStoffregen authored Feb 8, 2024
2 parents dbf2033 + da50f91 commit 72249e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/OneWire_direct_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72249e2

Please sign in to comment.