Repair a verified behavior in earlephilhower/arduino-pico.
Repair a verified behavior in earlephilhower/arduino-pico.: a task in OriGent-RL-Data (Harbor dataset). In slave mode, the Arduino Wire library can report one fewer received byte than was transmitted on the I2C bus. A callback registered with TwoWire::onReceive receives the short length, and the…
The task
In slave mode, the Arduino Wire library can report one fewer received byte than was transmitted on the I2C bus. A callback registered with TwoWire::onReceive receives the short length, and the bytes exposed through Wire::read() are correspondingly incomplete. The problem is intermittent: for example, a 48-byte…
Part of henryen/OriGent-RL-Data.