mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-14 16:41:36 +08:00
Removed subscribtion to multiple _telemetry_status instances.
Since commander handles all telemetry_status the same there is no need to subscribe to multiple instances. Signed-off-by: Claudio Micheli <claudio@auterion.com>
This commit is contained in:
committed by
Beat Küng
parent
a53594135b
commit
fb990d7de3
@@ -173,7 +173,7 @@ private:
|
||||
* Checks the status of all available data links and handles switching between different system telemetry states.
|
||||
*/
|
||||
void data_link_check(bool &status_changed);
|
||||
int _telemetry_status_sub[ORB_MULTI_MAX_INSTANCES] {};
|
||||
int _telemetry_status_sub{-1};
|
||||
|
||||
hrt_abstime _datalink_last_heartbeat_gcs{0};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user