Skip to content

Commit

Permalink
Fix build when using latest version of Arduino ESP32 (v3.0.0 and IDF …
Browse files Browse the repository at this point in the history
…v5.1)
  • Loading branch information
blackhack committed Oct 17, 2023
1 parent c560bca commit 2d136ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/OneWireNg_ArduinoIdfESP32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
!(defined(ARDUINO_ARCH_ESP8266) || defined(CONFIG_IDF_TARGET_ESP8266))
#include <assert.h>
#include "platform/Platform_TimeCritical.h"
#include "driver/gpio.h"
#include "soc/gpio_periph.h"

#ifdef ARDUINO
# include "Arduino.h"
#else
/* ESP-IDF */
# include "driver/gpio.h"
# include "soc/gpio_periph.h"

# define INPUT 0x01
# define OUTPUT 0x02
Expand Down

0 comments on commit 2d136ac

Please sign in to comment.