clangerdified
This commit is contained in:
parent
9af8ab9607
commit
31148fe857
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue