File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ class SH1106Wire : public OLEDDisplay {
7777 this ->_address = address;
7878 this ->_sda = sda;
7979 this ->_scl = scl;
80- #if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32C3)
80+ #if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32C6)
8181 this ->_wire = &Wire;
8282#else
8383 this ->_wire = (i2cBus==I2C_ONE) ? &Wire : &Wire1;
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class SSD1306Wire : public OLEDDisplay {
7878 this ->_address = address;
7979 this ->_sda = sda;
8080 this ->_scl = scl;
81- #if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32C3)
81+ #if !defined(ARDUINO_ARCH_ESP32) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32C6)
8282 this ->_wire = &Wire;
8383#else
8484 this ->_wire = (i2cBus == I2C_ONE) ? &Wire : &Wire1;
You can’t perform that action at this time.
0 commit comments