Commander: check_posvel_validity use return value

This commit is contained in:
Matthias Grob
2021-03-30 22:33:01 -04:00
committed by Daniel Agar
parent 29e1e0905c
commit b7600f4e4d
2 changed files with 12 additions and 13 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ private:
bool check_posvel_validity(const bool data_valid, const float data_accuracy, const float required_accuracy,
const hrt_abstime &data_timestamp_us, hrt_abstime *last_fail_time_us, hrt_abstime *probation_time_us,
bool *valid_state);
const bool was_valid);
void control_status_leds(bool changed, const uint8_t battery_warning);