Modified mbed library sources only for STM32F030K6, LQFP32 (0.8mm pitch) package, 32K Flash, 4K SRAM. Compiler target: Nucleo 32F030R8
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;