Modified version of the mbed library for use with the Nucleo boards.
Dependents: EEPROMWrite Full-Project
Fork of mbed-src by
Diff: capi/wait_api.c
- Revision:
- 8:4e25b8576136
- Parent:
- 2:143cac498751
diff -r 3a1b3e92fa02 -r 4e25b8576136 capi/wait_api.c --- 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) {