SRV_Channel: don't treat k_motorN specially
This commit is contained in:
parent
b0e18de576
commit
ed272833c3
@ -38,10 +38,6 @@ void SRV_Channel::output_ch(void)
|
||||
case k_rcin1 ... k_rcin16: // rc pass-thru
|
||||
passthrough_from = int8_t(function - k_rcin1);
|
||||
break;
|
||||
case k_motor1 ... k_motor8:
|
||||
case k_motor9 ... k_motor12:
|
||||
// handled by AP_Motors::rc_write()
|
||||
return;
|
||||
}
|
||||
if (passthrough_from != -1) {
|
||||
// we are doing passthrough from input to output for this channel
|
||||
|
Loading…
Reference in New Issue
Block a user