use recorded last sensor timestamp for intermittent check

This commit is contained in:
bresch
2022-02-22 11:49:25 +01:00
committed by Mathieu Bresciani
parent f431b233f3
commit cba73585e1
3 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -543,7 +543,7 @@ private:
// height sensor status
bool _baro_hgt_faulty{true}; ///< true if valid baro data is unavailable for use
bool _gps_hgt_intermittent{true}; ///< true if gps height into the buffer is intermittent
bool _gps_intermittent{true}; ///< true if into the buffer is intermittent
// imu fault status
uint64_t _time_bad_vert_accel{0}; ///< last time a bad vertical accel was detected (uSec)