mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: drivers/TimerEvent.cpp
- Revision:
- 167:e84263d55307
- Parent:
- 149:156823d33999
- Child:
- 187:0387e8f68319
--- 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); }