mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 10:33:33 +08:00
manual_control: add instance to selector
This instance is then used to schedule the callback for the subscription.
This commit is contained in:
committed by
Matthias Grob
parent
14eb656a59
commit
8876af9150
@@ -98,6 +98,7 @@ private:
|
||||
|
||||
ManualControlSelector _selector;
|
||||
bool _published_invalid_once{false};
|
||||
int _last_selected_input{-1};
|
||||
|
||||
perf_counter_t _loop_perf{perf_alloc(PC_ELAPSED, MODULE_NAME": cycle")};
|
||||
perf_counter_t _loop_interval_perf{perf_alloc(PC_INTERVAL, MODULE_NAME": interval")};
|
||||
|
||||
Reference in New Issue
Block a user