kopia lustrzana https://github.com/meshtastic/firmware
don't close the wire when we didn't find anything. We might rescan later.
rodzic
b6066a78c1
commit
7a25e0b69a
|
@ -421,10 +421,6 @@ void setup()
|
|||
auto i2cCount = i2cScanner->countDevices();
|
||||
if (i2cCount == 0) {
|
||||
LOG_INFO("No I2C devices found\n");
|
||||
Wire.end();
|
||||
#ifdef I2C_SDA1
|
||||
Wire1.end();
|
||||
#endif
|
||||
} else {
|
||||
LOG_INFO("%i I2C devices found\n", i2cCount);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue