From ed272833c3ddcb889971b8e43d9b035bc8e6bf11 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 17 Apr 2017 17:06:21 +1000 Subject: [PATCH] SRV_Channel: don't treat k_motorN specially --- libraries/SRV_Channel/SRV_Channel_aux.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libraries/SRV_Channel/SRV_Channel_aux.cpp b/libraries/SRV_Channel/SRV_Channel_aux.cpp index e3cc9b34ce..a4a30d2f67 100644 --- a/libraries/SRV_Channel/SRV_Channel_aux.cpp +++ b/libraries/SRV_Channel/SRV_Channel_aux.cpp @@ -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