TimerEvent: Use ticker_insert_event_us instead of the old API in

insert_absolute.

With this patch, event insertion should be more precise.
pull/4094/head
Vincent Coubard 2017-05-31 19:14:21 +01:00
parent 3e24e8fa62
commit f52da48d95
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ void TimerEvent::insert(timestamp_t timestamp) {
} }
void TimerEvent::insert_absolute(us_timestamp_t timestamp) { void TimerEvent::insert_absolute(us_timestamp_t timestamp) {
ticker_insert_event(_ticker_data, &event, timestamp, (uint32_t)this); ticker_insert_event_us(_ticker_data, &event, timestamp, (uint32_t)this);
} }
void TimerEvent::remove() { void TimerEvent::remove() {