mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-25 18:18:49 -04:00
AP_NavEKF3: Clean up initialisation of boolean array
This commit is contained in:
parent
4b88b2ccec
commit
7bd944ef3e
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user