AP_UAVCAN: send ESCs when disarmed

we should only be checking the safety state
This commit is contained in:
Andrew Tridgell 2018-08-08 20:58:10 +10:00 committed by Francisco Ferreira
parent 0125b2cdd2
commit 62fbe13690

View File

@ -394,7 +394,7 @@ void AP_UAVCAN::SRV_push_servos()
SRV_sem->give();
_SRV_armed = hal.util->get_soft_armed() && hal.util->safety_switch_state() != AP_HAL::Util::SAFETY_DISARMED;
_SRV_armed = hal.util->safety_switch_state() != AP_HAL::Util::SAFETY_DISARMED;
}