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:
- 453:a290c6acf95e
- Parent:
- 452:a2b30f7d1bc5
- Child:
- 481:ca51ab3eed5a
--- a/common/us_ticker_api.c Mon Jan 26 14:15:07 2015 +0000 +++ b/common/us_ticker_api.c Mon Jan 26 17:45:07 2015 +0000 @@ -70,7 +70,7 @@ ticker_event_t *prev = NULL, *p = head; while (p != NULL) { /* check if we come before p */ - if ((signedTimestamp_t)(timestamp - p->timestamp) < 0) { + if ((int)(timestamp - p->timestamp) < 0) { break; } /* go to the next element */