AP_Frsky_Telem: simplified constructor

This commit is contained in:
floaledm 2016-09-01 18:32:30 -05:00 committed by Andrew Tridgell
parent 1f2d17e8e7
commit 4f8cea6844

View File

@ -27,20 +27,7 @@ extern const AP_HAL::HAL& hal;
AP_Frsky_Telem::AP_Frsky_Telem(AP_AHRS &ahrs, const AP_BattMonitor &battery, const RangeFinder &rng) :
_ahrs(ahrs),
_battery(battery),
_rng(rng),
_port(NULL),
_protocol(),
_initialised_uart(),
_crc(0),
_ap(),
_relative_home_altitude(0.0f),
_control_sensors_timer(),
_paramID(),
_gps(),
_passthrough(),
_SPort(),
_D(),
_msg_chunk()
_rng(rng)
{}
/*