mbed library sources
Dependents: STM32F103C8T6-RangoTec STM32-103C8_Plantilla_USB
Diff: common/us_ticker_api.c
- Revision:
- 389:fc1c6dc472ca
- Parent:
- 362:56c2a6244bba
--- 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;