AP_ExternalAHRS: Fix duplicate condition

Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
Ryan Friedman 2024-05-10 17:58:52 -06:00 committed by Andrew Tridgell
parent 9026ce065a
commit 2dc547bec2
1 changed files with 0 additions and 4 deletions

View File

@ -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;
}