t
Fork of mbed-dev by
Diff: drivers/TimerEvent.cpp
- Revision:
- 167:e84263d55307
- Parent:
- 149:156823d33999
diff -r c97ed07ec1a8 -r e84263d55307 drivers/TimerEvent.cpp --- 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); }