mirror of https://github.com/arendst/Tasmota.git
Fix udisplay ESP8266 I2C no asterix in config (#21121)
This commit is contained in:
parent
13330eb085
commit
59de2fd979
|
@ -1074,7 +1074,9 @@ Renderer *uDisplay::Init(void) {
|
|||
wire = &Wire1;
|
||||
}
|
||||
#endif // ESP32
|
||||
wire->begin(i2c_sda, i2c_scl); // TODO: aren't I2C buses already initialized? Shouldn't this be moved to display driver?
|
||||
if (i2c_sda != i2c_scl) {
|
||||
wire->begin(i2c_sda, i2c_scl); // TODO: aren't I2C buses already initialized? Shouldn't this be moved to display driver?
|
||||
}
|
||||
|
||||
#ifdef UDSP_DEBUG
|
||||
Serial.printf("I2C cmds: %d\n", dsp_ncmds);
|
||||
|
|
Loading…
Reference in New Issue