-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Closed
Copy link
Labels
Board: Arduino DueApplies only to the DueApplies only to the DueComponent: CoreRelated to the code for the standard Arduino APIRelated to the code for the standard Arduino APILibrary: WireThe Wire Arduino libraryThe Wire Arduino library
Description
There is a bug in the Sam implementation of Wire.endTransmission.
It returns the number of bytes written + 1: https://github.com/arduino/Arduino/blob/ide-1.5.x/hardware/arduino/sam/libraries/Wire/Wire.cpp#L177-L194 and not the status: http://arduino.cc/en/Reference/WireEndTransmission, as in the AVR implementation: https://github.com/arduino/Arduino/blob/ide-1.5.x/hardware/arduino/avr/libraries/Wire/Wire.cpp#L137-L147.
Metadata
Metadata
Assignees
Labels
Board: Arduino DueApplies only to the DueApplies only to the DueComponent: CoreRelated to the code for the standard Arduino APIRelated to the code for the standard Arduino APILibrary: WireThe Wire Arduino libraryThe Wire Arduino library