mirror of https://github.com/ARMmbed/mbed-os.git
commit
45326db36d
|
@ -37,7 +37,7 @@ void us_ticker_irq_handler(void) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((int64_t)(head->timestamp - us_ticker_read()) <= 0) {
|
if ((int)(head->timestamp - us_ticker_read()) <= 0) {
|
||||||
// This event was in the past:
|
// This event was in the past:
|
||||||
// point to the following one and execute its handler
|
// point to the following one and execute its handler
|
||||||
ticker_event_t *p = head;
|
ticker_event_t *p = head;
|
||||||
|
|
Loading…
Reference in New Issue