Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-src by
Revision 17:2d7fc2e3aaad, committed 2013-08-08
- Comitter:
- bogdanm
- Date:
- Thu Aug 08 08:13:33 2013 +0000
- Parent:
- 16:caa6d6a94ad9
- Commit message:
- Fixed counter type in i2c_read
Changed in this revision
targets/hal/TARGET_Freescale/TARGET_KL25Z/i2c_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- a/targets/hal/TARGET_Freescale/TARGET_KL25Z/i2c_api.c Tue Aug 06 19:30:52 2013 +0000 +++ b/targets/hal/TARGET_Freescale/TARGET_KL25Z/i2c_api.c Thu Aug 08 08:13:33 2013 +0000 @@ -226,7 +226,7 @@ } int i2c_read(i2c_t *obj, int address, char *data, int length, int stop) { - uint8_t count; + int count; char dummy_read, *ptr; if (i2c_start(obj)) {