mirror of https://github.com/ArduPilot/ardupilot
AP_ExternalAHRS: Fix duplicate condition
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
This commit is contained in:
parent
0acd075746
commit
ac044c1655
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue