1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-12-02 13:24:12 +01:00
Arduino/hardware/arduino
Kevin Chang c92206909d SAM Wire: fixed NACK/timeout behavior of requestFrom() and available()
"readed" is no longer incremented in requestFrom() if
TWI_WaitByteReceived() gets a NACK or times out. This corrects the
behavior (return values) of requestFrom() and available() to match the
Arduino reference. Fixes arduino/Arduino#1311
2014-02-17 20:16:31 -08:00
..
avr In HardwareSerial, don't use int for buffer indices 2014-02-14 10:25:34 +01:00
sam SAM Wire: fixed NACK/timeout behavior of requestFrom() and available() 2014-02-17 20:16:31 -08:00