Fix RZ/A1H target issues
Fork of mbed-src by
Revision 412:ea78ced42a1f, committed 2014-11-27
- Comitter:
- MACRUM
- Date:
- Thu Nov 27 06:27:12 2014 +0000
- Parent:
- 411:12e8e4569aa7
- Commit message:
- Fixed I2C issue (temporary) in RZ/A1H
Changed in this revision
targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c | Show annotated file Show diff for this revision Revisions of this file |
diff -r 12e8e4569aa7 -r ea78ced42a1f targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c --- a/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c Thu Nov 20 11:45:07 2014 +0000 +++ b/targets/hal/TARGET_RENESAS/TARGET_RZ_A1H/i2c_api.c Thu Nov 27 06:27:12 2014 +0000 @@ -198,7 +198,8 @@ } void i2c_frequency(i2c_t *obj, int hz) { - uint32_t PCLK = 6666666; +// uint32_t PCLK = 6666666; + uint32_t PCLK = 3333333; uint32_t pulse = PCLK / (hz * 2);