mbed library sources that still uses the stm standard peripheral library
Fork of mbed-src by
Revision 389:fc1c6dc472ca, committed 2014-11-05
- Comitter:
- mbed_official
- Date:
- Wed Nov 05 15:00:07 2014 +0000
- Parent:
- 388:643a59b3dbac
- Child:
- 390:cdd2bb0365fe
- Commit message:
- Synchronized with git revision 45326db36d59a8dbade626056029b31ac4474418
Full URL: https://github.com/mbedmicro/mbed/commit/45326db36d59a8dbade626056029b31ac4474418/
API: ticker casting fix (issue #649)
Changed in this revision
common/us_ticker_api.c | Show annotated file Show diff for this revision Revisions of this file |
--- 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;