Merge pull request #649 from rgrover/master

API: ticker casting fix (issue #649)
pull/652/head^2
Martin Kojtal 2014-11-05 14:59:16 +00:00
commit 45326db36d
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;