mirror of https://github.com/ArduPilot/ardupilot
AP_ServoRelayEvents: do-set-servo affects sprayer and gripper
This commit is contained in:
parent
e0af13a6ad
commit
d40862de9c
|
@ -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_none:
|
||||||
case SRV_Channel::k_manual:
|
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
|
case SRV_Channel::k_rcin1 ... SRV_Channel::k_rcin16: // rc pass-thru
|
||||||
break;
|
break;
|
||||||
default:
|
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_none:
|
||||||
case SRV_Channel::k_manual:
|
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
|
case SRV_Channel::k_rcin1 ... SRV_Channel::k_rcin16: // rc pass-thru
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue