AP_NavEKF3: Clean up initialisation of boolean array

This commit is contained in:
Paul Riseborough 2021-06-17 19:38:16 +10:00 committed by Randy Mackay
parent b0763f04f1
commit ac92182153
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ void NavEKF3_core::FuseVelPosNED()
bool hgtCheckPassed = false; // boolean true if height measurements have passed innovation consistency check bool hgtCheckPassed = false; // boolean true if height measurements have passed innovation consistency check
// declare variables used to control access to arrays // declare variables used to control access to arrays
bool fuseData[6] = {false,false,false,false,false,false}; bool fuseData[6] {};
uint8_t stateIndex; uint8_t stateIndex;
uint8_t obsIndex; uint8_t obsIndex;