mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_ServoRelayEvents: do-set-servo affects sprayer and gripper
This commit is contained in:
parent
a8b1f93a83
commit
10ef74172c
@ -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
Block a user