AP_NavEKF3: remove unneeded initialisations

AP_NavEKF3 should never be allocated in uninitialised memory
This commit is contained in:
Peter Barker 2018-04-06 22:40:32 +10:00 committed by Randy Mackay
parent d38ff1dd2c
commit 6791808ac6

View File

@ -581,9 +581,7 @@ const AP_Param::GroupInfo NavEKF3::var_info[] = {
NavEKF3::NavEKF3(const AP_AHRS *ahrs, const RangeFinder &rng) :
_ahrs(ahrs),
_rng(rng),
runCoreSelection(false), // true when the default primary core has stabilised after startup and core selection can run
inhibitGpsVertVelUse(false) // true when GPS vertical velocity use is prohibited
_rng(rng)
{
AP_Param::setup_object_defaults(this, var_info);
}