Skip to content

Commit

Permalink
Fix ESP32 build
Browse files Browse the repository at this point in the history
  • Loading branch information
kkonradpl committed Jun 24, 2024
1 parent 5815162 commit fc64e72
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/I2c/I2cWire.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
#include <Wire.h>
#include "I2cWire.hpp"
#include "../Utils/Utils.hpp"
#ifdef ARDUINO_ARCH_ESP32
#include <driver/gpio.h>
#endif

I2cWire::I2cWire(uint8_t _address) : address(_address >> 1)
{
Expand Down

0 comments on commit fc64e72

Please sign in to comment.