From 7e1e10f9418848112b4b0447808bb2b504bd1c6d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 30 Dec 2013 09:31:18 +1100 Subject: [PATCH] AP_HAL: added time_shift() scheduler API used for log replay --- libraries/AP_HAL/Scheduler.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libraries/AP_HAL/Scheduler.h b/libraries/AP_HAL/Scheduler.h index 24262ecb18..a2fdeca6ff 100644 --- a/libraries/AP_HAL/Scheduler.h +++ b/libraries/AP_HAL/Scheduler.h @@ -43,6 +43,11 @@ public: optional function to set timer speed in Hz */ virtual void set_timer_speed(uint16_t speed_hz) {} + + /** + optional function to shift forward in time, used by log replay + */ + virtual void time_shift(uint32_t shift_ms) {} }; #endif // __AP_HAL_SCHEDULER_H__