File tree 3 files changed +6
-0
lines changed
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -94,6 +94,8 @@ class AutoOLEDWire : public OLEDDisplay {
94
94
this ->_scl = _scl;
95
95
#if !defined(ARDUINO_ARCH_ESP32) && !defined(ARCH_RP2040)
96
96
this ->_wire = &Wire;
97
+ #elif defined(CONFIG_IDF_TARGET_ESP32C6)
98
+ this ->_wire = &Wire;
97
99
#else
98
100
this ->_wire = (_i2cBus==I2C_ONE) ? &Wire : &Wire1;
99
101
#endif
Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ class SH1106Wire : public OLEDDisplay {
80
80
this ->_scl = _scl;
81
81
#if !defined(ARDUINO_ARCH_ESP32) && !defined(ARCH_RP2040)
82
82
this ->_wire = &Wire;
83
+ #elif defined(CONFIG_IDF_TARGET_ESP32C6)
84
+ this ->_wire = &Wire;
83
85
#else
84
86
this ->_wire = (_i2cBus==I2C_ONE) ? &Wire : &Wire1;
85
87
#endif
Original file line number Diff line number Diff line change @@ -80,6 +80,8 @@ class SSD1306Wire : public OLEDDisplay {
80
80
this ->_scl = _scl;
81
81
#if !defined(ARDUINO_ARCH_ESP32)
82
82
this ->_wire = &Wire;
83
+ #elif defined(CONFIG_IDF_TARGET_ESP32C6)
84
+ this ->_wire = &Wire;
83
85
#else
84
86
this ->_wire = (_i2cBus==I2C_ONE) ? &Wire : &Wire1;
85
87
#endif
You can’t perform that action at this time.
0 commit comments