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.
Dependents: WizFi250_AP_HelloWorld
Fork of mbed-src by
Diff: common/wait_api.c
- Revision:
- 19:398f4c622e1b
- Parent:
- 13:0645d8841f51
diff -r 692be3d4e4cc -r 398f4c622e1b common/wait_api.c
--- a/common/wait_api.c Mon Aug 12 13:49:01 2013 +0300
+++ b/common/wait_api.c Mon Aug 19 18:17:02 2013 +0300
@@ -26,5 +26,5 @@
void wait_us(int us) {
uint32_t start = us_ticker_read();
- while ((us_ticker_read() - start) < us);
+ while ((us_ticker_read() - start) < (uint32_t)us);
}
