From b6155d2cb602c73ba48fbb1ed819a4afb178b91e Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 4 Jan 2016 22:35:04 +1100 Subject: [PATCH] RC_Channel: fixed output for k_motor* --- libraries/RC_Channel/RC_Channel_aux.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/RC_Channel/RC_Channel_aux.cpp b/libraries/RC_Channel/RC_Channel_aux.cpp index 20847d88b9..775bbe472d 100644 --- a/libraries/RC_Channel/RC_Channel_aux.cpp +++ b/libraries/RC_Channel/RC_Channel_aux.cpp @@ -35,6 +35,9 @@ RC_Channel_aux::output_ch(void) case k_manual: // manual radio_out = radio_in; break; + case k_motor1 ... k_motor8: + // handled by AP_Motors::rc_write() + return; } hal.rcout->write(_ch_out, radio_out); }