mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_AHRS: pre-arm msg loses extra AHRS prefix
This commit is contained in:
parent
1b7ced4e2e
commit
f2ed41f5cf
@ -2077,7 +2077,7 @@ bool AP_AHRS::pre_arm_check(bool requires_position, char *failure_msg, uint8_t f
|
|||||||
|
|
||||||
// ensure we're using the configured backend, but bypass in compass-less cases:
|
// ensure we're using the configured backend, but bypass in compass-less cases:
|
||||||
if (ekf_type() != active_EKF_type() && AP::compass().use_for_yaw()) {
|
if (ekf_type() != active_EKF_type() && AP::compass().use_for_yaw()) {
|
||||||
hal.util->snprintf(failure_msg, failure_msg_len, "AHRS: not using configured AHRS type");
|
hal.util->snprintf(failure_msg, failure_msg_len, "not using configured AHRS type");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user