Skip to content

Conversation

0xc0170
Copy link
Contributor

@0xc0170 0xc0170 commented Apr 27, 2016

Fixes #1670. This follows the C++ i2c int write(int data) method, plus the implementations for nxp 1768 has it as it is with this correction, thus we can assume that's the intentional behavior. The documentation was added the last year, and was mapping some of the targets (I personally haven't noticed this).

We will add tests to get this right , we will need to fix the implementations.

@sg- @kgills

@sg-
Copy link
Contributor

sg- commented Apr 27, 2016

👍 We should write a test to catch all the non-conforming implementations.

@0xc0170 0xc0170 merged commit 884e1ad into ARMmbed:master Apr 29, 2016
@0xc0170 0xc0170 deleted the fix_#1670 branch April 29, 2016 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

I2C byte write return value

2 participants