Plane: compatibility with revised AP_Frsky_Telem class

This commit is contained in:
floaledm 2016-05-03 16:32:47 -05:00 committed by Andrew Tridgell
parent b5f75459f2
commit 43006a31a3

View File

@ -417,8 +417,10 @@ private:
AP_BattMonitor battery;
#if FRSKY_TELEM_ENABLED == ENABLED
// Inertial Navigation
AP_InertialNav_NavEKF inertial_nav {ahrs};
// FrSky telemetry support
AP_Frsky_Telem frsky_telemetry {ahrs, battery};
AP_Frsky_Telem frsky_telemetry {ahrs, battery, rangefinder, inertial_nav};
#endif
// Airspeed Sensors