Skip to content

Commit

Permalink
AP_ExternalAHRS: Fix duplicate condition
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Friedman <[email protected]>
  • Loading branch information
Ryanf55 authored and tridge committed May 13, 2024
1 parent 9026ce0 commit 2dc547b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libraries/AP_ExternalAHRS/AP_ExternalAHRS_MicroStrain7.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,6 @@ bool AP_ExternalAHRS_MicroStrain7::pre_arm_check(char *failure_msg, uint8_t fail
hal.util->snprintf(failure_msg, failure_msg_len, LOG_FMT, get_name(), "missing 3D GPS fix on either GPS");
return false;
}
if (!filter_state_healthy(FilterState(filter_status.state))) {
hal.util->snprintf(failure_msg, failure_msg_len, LOG_FMT, get_name(), "filter not healthy");
return false;
}

return true;
}
Expand Down

0 comments on commit 2dc547b

Please sign in to comment.