mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Copter: pre-arm check for compass
This commit is contained in:
parent
4c7ab9a0f9
commit
90af3262c5
@ -168,6 +168,11 @@ static void pre_arm_checks()
|
||||
return;
|
||||
}
|
||||
|
||||
// check the compass is healthy
|
||||
if(!compass.healthy) {
|
||||
return;
|
||||
}
|
||||
|
||||
#if AC_FENCE == ENABLED
|
||||
// check fence is initialised
|
||||
if(!fence.pre_arm_check()) {
|
||||
|
Loading…
Reference in New Issue
Block a user