t
Fork of mbed-dev by
Diff: drivers/TimerEvent.cpp
- Revision:
- 168:e84263d55307
- Parent:
- 149:156823d33999
--- a/drivers/TimerEvent.cpp Thu Jun 08 15:02:37 2017 +0100 +++ b/drivers/TimerEvent.cpp Wed Jun 21 17:46:44 2017 +0100 @@ -44,6 +44,10 @@ ticker_insert_event(_ticker_data, &event, timestamp, (uint32_t)this); } +void TimerEvent::insert_absolute(us_timestamp_t timestamp) { + ticker_insert_event_us(_ticker_data, &event, timestamp, (uint32_t)this); +} + void TimerEvent::remove() { ticker_remove_event(_ticker_data, &event); }