mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 22:18:29 -04:00
Copter: remote arming check reference to compass learning
This commit is contained in:
parent
f78aff67c2
commit
4038cd2fbd
@ -266,7 +266,7 @@ static void pre_arm_checks(bool display_failure)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check compass learning is on or offsets have been set
|
// check compass learning is on or offsets have been set
|
||||||
if(!compass.learn_offsets_enabled() && !compass.configured()) {
|
if(!compass.configured()) {
|
||||||
if (display_failure) {
|
if (display_failure) {
|
||||||
gcs_send_text_P(SEVERITY_HIGH,PSTR("PreArm: Compass not calibrated"));
|
gcs_send_text_P(SEVERITY_HIGH,PSTR("PreArm: Compass not calibrated"));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user