f/keyboardio-model-100
Jesse Vincent 3 years ago
parent b44edf476b
commit 9d9b16dc93
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -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;
} }

Loading…
Cancel
Save