mirror of https://github.com/ARMmbed/mbed-os.git
Potential fix for #646
parent
5a868b18bc
commit
63cad2a60b
|
@ -37,7 +37,7 @@ void us_ticker_irq_handler(void) {
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue