mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-30 19:52:13 +01:00
Merge branch 'master' of https://github.com/BrentWilkins/Arduino
This commit is contained in:
commit
4a5228f559
@ -169,7 +169,7 @@ void TwoWire::beginTransmission(int address)
|
|||||||
uint8_t TwoWire::endTransmission(uint8_t sendStop)
|
uint8_t TwoWire::endTransmission(uint8_t sendStop)
|
||||||
{
|
{
|
||||||
// transmit buffer (blocking)
|
// 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
|
// reset tx buffer iterator vars
|
||||||
txBufferIndex = 0;
|
txBufferIndex = 0;
|
||||||
txBufferLength = 0;
|
txBufferLength = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user