Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: Hobbyking_Cheetah_Compact Hobbyking_Cheetah_Compact_DRV8323_14bit Hobbyking_Cheetah_Compact_DRV8323_V51_201907 HKC_MiniCheetah ... more
Fork of mbed-dev by
Diff: drivers/TimerEvent.cpp
- Revision:
- 167: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);
}
