fix for mbed lib issue 3 (i2c problem) see also https://mbed.org/users/mbed_official/code/mbed/issues/3 affected implementations: LPC812, LPC11U24, LPC1768, LPC2368, LPC4088
Fork of mbed-src by
Diff: capi/wait_api.c
- Revision:
- 8:4e25b8576136
- Parent:
- 2:143cac498751
--- a/capi/wait_api.c Wed Apr 24 15:11:33 2013 +0000 +++ b/capi/wait_api.c Thu May 30 16:59:31 2013 +0100 @@ -17,7 +17,7 @@ #include "us_ticker_api.h" void wait(float s) { - wait_us(s * 1000000.0); + wait_us(s * 1000000.0f); } void wait_ms(int ms) {