AP_UAVCAN: send ESCs when disarmed
we should only be checking the safety state
This commit is contained in:
parent
0125b2cdd2
commit
62fbe13690
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user