We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b34711 commit 9e3b447Copy full SHA for 9e3b447
src/SH1106Wire.h
@@ -77,7 +77,7 @@ class SH1106Wire : public OLEDDisplay {
77
this->_address = address;
78
this->_sda = sda;
79
this->_scl = scl;
80
-#if !defined(ARDUINO_ARCH_ESP32)
+#if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32C3)
81
this->_wire = &Wire;
82
#else
83
this->_wire = (i2cBus==I2C_ONE) ? &Wire : &Wire1;
0 commit comments