Plane: always check that the mixer has been configured as arming check

This commit is contained in:
Michael du Breuil 2016-09-06 00:03:13 -07:00
parent c5adb91017
commit f0247a7be1

View File

@ -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;
}