giga i2c hack fix

This commit is contained in:
caternuson
2024-10-24 14:25:57 -07:00
parent 15fbda592d
commit 9af8ab9607
+3
View File
@@ -70,6 +70,9 @@ bool Adafruit_I2CDevice::detected(void) {
#ifdef DEBUG_SERIAL
DEBUG_SERIAL.print(F("Address 0x"));
DEBUG_SERIAL.print(_addr);
#endif
#ifdef ARDUINO_ARCH_MBED
_wire->write(0); // forces a write request instead of a read
#endif
if (_wire->endTransmission() == 0) {
#ifdef DEBUG_SERIAL