Rover: fixes for AP_FrSky_Telem API change

This commit is contained in:
Andrew Tridgell 2016-08-10 08:17:03 +10:00
parent ab77fdfa02
commit 08b0ba99db
2 changed files with 1 additions and 4 deletions

View File

@ -47,8 +47,7 @@ Rover::Rover(void) :
ground_start_count(20),
throttle(500),
#if FRSKY_TELEM_ENABLED == ENABLED
inertial_nav(ahrs),
frsky_telemetry(ahrs, battery, sonar, inertial_nav),
frsky_telemetry(ahrs, battery, sonar),
#endif
home(ahrs.get_home()),
G_Dt(0.02)

View File

@ -287,8 +287,6 @@ private:
AP_BattMonitor battery;
#if FRSKY_TELEM_ENABLED == ENABLED
// Inertial Navigation
AP_InertialNav_NavEKF inertial_nav;
// FrSky telemetry support
AP_Frsky_Telem frsky_telemetry;
#endif