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: NUCLEO-F030R8_ExtXtalTest
Fork of mbed-src by
Diff: common/us_ticker_api.c
- Revision:
- 452:a2b30f7d1bc5
- Parent:
- 388:fc1c6dc472ca
- Child:
- 453:a290c6acf95e
diff -r ea2f0f5bda68 -r a2b30f7d1bc5 common/us_ticker_api.c
--- a/common/us_ticker_api.c Mon Jan 26 07:00:07 2015 +0000
+++ b/common/us_ticker_api.c Mon Jan 26 14:15:07 2015 +0000
@@ -70,7 +70,7 @@
ticker_event_t *prev = NULL, *p = head;
while (p != NULL) {
/* check if we come before p */
- if ((int64_t)(timestamp - p->timestamp) < 0) {
+ if ((signedTimestamp_t)(timestamp - p->timestamp) < 0) {
break;
}
/* go to the next element */
