AP_Arming: fixed build

This commit is contained in:
Andrew Tridgell 2013-12-11 15:22:43 +11:00
parent 103da0c889
commit 24658197ff

View File

@ -96,7 +96,7 @@ bool AP_Arming::compass_checks() {
return true;
}
if (! compass->healthy) {
if (! compass->healthy()) {
gcs_send_text_P(SEVERITY_HIGH,PSTR("PreArm: Compass not healthy!"));
return false;
}