mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Plane: always check that the mixer has been configured as arming check
This commit is contained in:
parent
c5adb91017
commit
f0247a7be1
@ -83,6 +83,15 @@ bool AP_Arming_Plane::pre_arm_checks(bool report)
|
||||
ret = false;
|
||||
}
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||
if (plane.last_mixer_crc == -1) {
|
||||
if (report) {
|
||||
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_CRITICAL,"PreArm: Mixer not okay");
|
||||
}
|
||||
ret = false;
|
||||
}
|
||||
#endif // CONFIG_HAL_BOARD
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user