Potential fix for #646

pull/649/head
Rohit Grover 2014-11-04 15:39:48 +00:00
parent 5a868b18bc
commit 63cad2a60b
1 changed files with 1 additions and 1 deletions

View File

@ -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;