SRV_Channel: don't treat k_motorN specially

This commit is contained in:
Andrew Tridgell 2017-04-17 17:06:21 +10:00
parent b0e18de576
commit ed272833c3

View File

@ -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