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
@@ -286,7 +286,7 @@ protected:
uint64_t _time_last_airspeed; // timestamp of last airspeed measurement in microseconds
uint64_t _time_last_optflow;
fault_status_t _fault_status;
fault_status_u _fault_status;
// allocate data buffers and intialise interface variables
bool initialise_interface(uint64_t timestamp);