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 Randy Mackay
parent 0cff8d9c82
commit e768055e5e
1 changed files with 0 additions and 4 deletions

View File

@ -289,10 +289,6 @@ bool AP_ExternalAHRS_MicroStrain7::pre_arm_check(char *failure_msg, uint8_t fail
hal.util->snprintf(failure_msg, failure_msg_len, 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, get_name(), "filter not healthy");
return false;
}
return true;
}