Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/SH1106Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class SH1106Wire : public OLEDDisplay {
this->_address = address;
this->_sda = sda;
this->_scl = scl;
#if !defined(ARDUINO_ARCH_ESP32)
#if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32C3)
this->_wire = &Wire;
#else
this->_wire = (i2cBus==I2C_ONE) ? &Wire : &Wire1;
Expand Down
2 changes: 1 addition & 1 deletion src/SSD1306Wire.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class SSD1306Wire : public OLEDDisplay {
this->_address = address;
this->_sda = sda;
this->_scl = scl;
#if !defined(ARDUINO_ARCH_ESP32)
#if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32C3)
this->_wire = &Wire;
#else
this->_wire = (i2cBus == I2C_ONE) ? &Wire : &Wire1;
Expand Down
Loading