clangerdified

This commit is contained in:
caternuson 2024-10-24 14:37:54 -07:00
parent 9af8ab9607
commit 31148fe857
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ bool Adafruit_I2CDevice::detected(void) {
DEBUG_SERIAL.print(_addr); DEBUG_SERIAL.print(_addr);
#endif #endif
#ifdef ARDUINO_ARCH_MBED #ifdef ARDUINO_ARCH_MBED
_wire->write(0); // forces a write request instead of a read _wire->write(0); // forces a write request instead of a read
#endif #endif
if (_wire->endTransmission() == 0) { if (_wire->endTransmission() == 0) {
#ifdef DEBUG_SERIAL #ifdef DEBUG_SERIAL