mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Mount: use ZERO_FARRAY()
This commit is contained in:
parent
26820c3a8c
commit
4dfa6258d9
@ -41,7 +41,7 @@ SoloGimbalEKF::SoloGimbalEKF() :
|
||||
// complete reset
|
||||
void SoloGimbalEKF::reset()
|
||||
{
|
||||
memset(&states,0,sizeof(states));
|
||||
ZERO_FARRAY(states);
|
||||
memset((void *)&gSense,0,sizeof(gSense));
|
||||
memset(&Cov,0,sizeof(Cov));
|
||||
TiltCorrectionSquared = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user