mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-18 12:54:25 +01:00
"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