Plane: reserve NavEKF slot in param list even when not used

Although this wasn't a problem immediatley, if someone had added a
parameter after k_param_NavEKF it's position in eeprom could have moved
as AP_AHRS_NAVEKF_AVAILABLE was enabled/disabled
This commit is contained in:
Randy Mackay 2014-02-21 13:53:05 +09:00
parent bb0995f7d8
commit a76e2ab02e

View File

@ -153,9 +153,7 @@ public:
k_param_barometer, // barometer ground calibration
k_param_airspeed, // AP_Airspeed parameters
k_param_curr_amp_offset,
#if AP_AHRS_NAVEKF_AVAILABLE
k_param_NavEKF, // Extended Kalman Filter Inertial Navigation Group
#endif
//
// 150: Navigation parameters