AP_Scheduler: add accessor for tick counter
This commit is contained in:
parent
519e6c31d2
commit
e713802c24
@ -73,6 +73,9 @@ public:
|
||||
// call when one tick has passed
|
||||
void tick(void);
|
||||
|
||||
// return current tick counter
|
||||
uint16_t ticks() const { return _tick_counter; }
|
||||
|
||||
// run the tasks. Call this once per 'tick'.
|
||||
// time_available is the amount of time available to run
|
||||
// tasks in microseconds
|
||||
|
Loading…
Reference in New Issue
Block a user