Browse Source

AP_HAL: added time_shift() scheduler API

used for log replay
mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
7e1e10f941
  1. 5
      libraries/AP_HAL/Scheduler.h

5
libraries/AP_HAL/Scheduler.h

@ -43,6 +43,11 @@ public: @@ -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__

Loading…
Cancel
Save