Move variable initializations to header file that were no longer in the correct order in the constructor list.

This commit is contained in:
mcsauder
2019-02-19 11:17:53 -07:00
committed by Daniel Agar
parent 8a6a5cc310
commit 6762f09490
2 changed files with 6 additions and 9 deletions

View File

@@ -132,10 +132,6 @@ MavlinkReceiver::MavlinkReceiver(Mavlink *parent) :
_debug_array_pub(nullptr),
_gps_inject_data_pub(nullptr),
_command_ack_pub(nullptr),
_control_mode_sub(orb_subscribe(ORB_ID(vehicle_control_mode))),
_actuator_armed_sub(orb_subscribe(ORB_ID(actuator_armed))),
_vehicle_attitude_sub(orb_subscribe(ORB_ID(vehicle_attitude))),
_global_ref_timestamp(0),
_hil_frames(0),
_old_timestamp(0),
_hil_local_proj_inited(0),