We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b42b3d commit c693fd1Copy full SHA for c693fd1
src/NoteI2c_Arduino.cpp
@@ -43,7 +43,7 @@ NoteI2c_Arduino::receive (
43
// Request response data from Notecard
44
for (size_t i = 0 ; i < 3 ; ++i) {
45
_i2cPort.beginTransmission(static_cast<uint8_t>(device_address_));
46
- _i2cPort.write(0);
+ _i2cPort.write(static_cast<uint8_t>(0));
47
_i2cPort.write(static_cast<uint8_t>(requested_byte_count_));
48
transmission_error = _i2cPort.endTransmission();
49
0 commit comments