mirror of https://github.com/ArduPilot/ardupilot
AP_ServoRelayEvents: do-set-servo affects sprayer and gripper
This commit is contained in:
parent
80792ad19f
commit
fd57c8af96
|
@ -36,6 +36,9 @@ bool AP_ServoRelayEvents::do_set_servo(uint8_t _channel, uint16_t pwm)
|
|||
{
|
||||
case SRV_Channel::k_none:
|
||||
case SRV_Channel::k_manual:
|
||||
case SRV_Channel::k_sprayer_pump:
|
||||
case SRV_Channel::k_sprayer_spinner:
|
||||
case SRV_Channel::k_gripper:
|
||||
case SRV_Channel::k_rcin1 ... SRV_Channel::k_rcin16: // rc pass-thru
|
||||
break;
|
||||
default:
|
||||
|
@ -88,6 +91,9 @@ bool AP_ServoRelayEvents::do_repeat_servo(uint8_t _channel, uint16_t _servo_valu
|
|||
{
|
||||
case SRV_Channel::k_none:
|
||||
case SRV_Channel::k_manual:
|
||||
case SRV_Channel::k_sprayer_pump:
|
||||
case SRV_Channel::k_sprayer_spinner:
|
||||
case SRV_Channel::k_gripper:
|
||||
case SRV_Channel::k_rcin1 ... SRV_Channel::k_rcin16: // rc pass-thru
|
||||
break;
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue