mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF2: zero H_MAG to prevent compiler error
This commit is contained in:
parent
771fe173d4
commit
897170059d
|
@ -342,7 +342,7 @@ void NavEKF2_core::FuseMagnetometer()
|
|||
Vector3f &MagPred = mag_state.MagPred;
|
||||
ftype &R_MAG = mag_state.R_MAG;
|
||||
ftype *SH_MAG = &mag_state.SH_MAG[0];
|
||||
Vector24 H_MAG;
|
||||
Vector24 H_MAG {};
|
||||
Vector6 SK_MX;
|
||||
Vector6 SK_MY;
|
||||
Vector6 SK_MZ;
|
||||
|
|
Loading…
Reference in New Issue