|
|
@ -149,7 +149,9 @@ uint8_t Model100Side::writeData(uint8_t *data, uint8_t length) {
|
|
|
|
Wire.beginTransmission(addr);
|
|
|
|
Wire.beginTransmission(addr);
|
|
|
|
Wire.write(data, length);
|
|
|
|
Wire.write(data, length);
|
|
|
|
uint8_t result = Wire.endTransmission();
|
|
|
|
uint8_t result = Wire.endTransmission();
|
|
|
|
if (result) { markDeviceUnavailable(); }
|
|
|
|
if (result) {
|
|
|
|
|
|
|
|
markDeviceUnavailable();
|
|
|
|
|
|
|
|
}
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|