Tentative KL25Z I2C HAL fix
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)) {