EKF: replace fault status struct with a union to facilitate logging

This commit is contained in:
Paul Riseborough
2016-05-07 21:11:16 +10:00
parent 7f5669fb2d
commit 020b87933e
7 changed files with 57 additions and 54 deletions
+1 -1
View File
@@ -346,7 +346,7 @@ bool EstimatorInterface::initialise_interface(uint64_t timestamp)
_time_last_airspeed = 0;
_time_last_optflow = 0;
memset(&_fault_status, 0, sizeof(_fault_status));
memset(&_fault_status.flags, 0, sizeof(_fault_status.flags));
return true;
}