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: Freedman_v2 Nucleo_i2c_OLED_BME280_copy
Fork of mbed-src by
Diff: common/us_ticker_api.c
- Revision:
- 388:fc1c6dc472ca
- Parent:
- 361:56c2a6244bba
- Child:
- 452:a2b30f7d1bc5
--- a/common/us_ticker_api.c Wed Nov 05 14:30:08 2014 +0000
+++ b/common/us_ticker_api.c Wed Nov 05 15:00:07 2014 +0000
@@ -37,7 +37,7 @@
return;
}
- if ((int64_t)(head->timestamp - us_ticker_read()) <= 0) {
+ if ((int)(head->timestamp - us_ticker_read()) <= 0) {
// This event was in the past:
// point to the following one and execute its handler
ticker_event_t *p = head;
