Plane: AP_Arming now logs arm/disarm events

This commit is contained in:
Peter Barker 2019-10-05 08:42:02 +10:00 committed by Andrew Tridgell
parent d2520b7a94
commit a74d754720

View File

@ -165,11 +165,10 @@ bool AP_Arming_Plane::arm_checks(AP_Arming::Method method)
}
/*
update HAL soft arm state and log as needed
update HAL soft arm state
*/
void AP_Arming_Plane::change_arm_state(void)
{
Log_Write_Arm_Disarm();
update_soft_armed();
plane.quadplane.set_armed(hal.util->get_soft_armed());
}