Plane: fix for AP_FrSky_Telem API change

This commit is contained in:
Andrew Tridgell 2016-08-10 08:17:23 +10:00
parent 0bcc9c4cb0
commit a5f20d8c44

View File

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