Skip to content

Commit

Permalink
ArduPlane: More efficient type use
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Riseborough authored and tridge committed May 14, 2020
1 parent 5b312e9 commit 70a02f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ArduPlane/ekf_check.cpp
Expand Up @@ -20,7 +20,7 @@
////////////////////////////////////////////////////////////////////////////////
static struct {
uint8_t fail_count; // number of iterations ekf or dcm have been out of tolerances
uint8_t bad_variance : 1; // true if ekf should be considered untrusted (fail_count has exceeded EKF_CHECK_ITERATIONS_MAX)
bool bad_variance : true; // true if ekf should be considered untrusted (fail_count has exceeded EKF_CHECK_ITERATIONS_MAX)
uint32_t last_warn_time; // system time of last warning in milliseconds. Used to throttle text warnings sent to GCS
bool failsafe_on; // true when the loss of navigation failsafe is on
} ekf_check_state;
Expand Down

0 comments on commit 70a02f3

Please sign in to comment.