1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-18 07:52:14 +01:00

Update Wire.cpp

Removed implicit conversions from unsigned, to signed, back to unsigned.
This commit is contained in:
Brent Wilkins 2016-01-18 13:12:11 -07:00
parent dcfcbefc32
commit 91df079b09

View File

@ -169,7 +169,7 @@ void TwoWire::beginTransmission(int address)
uint8_t TwoWire::endTransmission(uint8_t sendStop)
{
// transmit buffer (blocking)
int8_t ret = twi_writeTo(txAddress, txBuffer, txBufferLength, 1, sendStop);
uint8_t ret = twi_writeTo(txAddress, txBuffer, txBufferLength, 1, sendStop);
// reset tx buffer iterator vars
txBufferIndex = 0;
txBufferLength = 0;