mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-06 14:58:54 +08:00
uavcan: remove unused variables in gnss bridge
This commit is contained in:
committed by
Daniel Agar
parent
85796fbd84
commit
7f2f0a04f1
@@ -58,7 +58,6 @@ UavcanGnssBridge::UavcanGnssBridge(uavcan::INode &node) :
|
||||
_sub_fix(node),
|
||||
_sub_fix2(node),
|
||||
_pub_rtcm(node),
|
||||
_report_pub(nullptr),
|
||||
_channel_using_fix2(new bool[_max_channels]),
|
||||
_rtcm_perf(perf_alloc(PC_INTERVAL, "uavcan: gnss: rtcm pub"))
|
||||
{
|
||||
|
||||
@@ -120,11 +120,6 @@ private:
|
||||
float _last_gnss_auxiliary_vdop{0.0f};
|
||||
|
||||
uORB::Subscription _orb_inject_data_sub{ORB_ID(gps_inject_data)};
|
||||
uORB::PublicationMulti<sensor_gps_s> _gps_pub{ORB_ID(sensor_gps)};
|
||||
|
||||
bool _old_fix_subscriber_active{true};
|
||||
|
||||
orb_advert_t _report_pub; ///< uORB pub for gnss position
|
||||
|
||||
bool _system_clock_set{false}; ///< Have we set the system clock at least once from GNSS data?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user