From c1ff69794c10f166937714bb6f7e743feeece28c Mon Sep 17 00:00:00 2001 From: ashvath100 Date: Fri, 28 Aug 2020 23:37:43 +0530 Subject: [PATCH] Rover: rc_channel inits height input channel --- Rover/RC_Channel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rover/RC_Channel.cpp b/Rover/RC_Channel.cpp index ad99ff50ca..cadd5488f5 100644 --- a/Rover/RC_Channel.cpp +++ b/Rover/RC_Channel.cpp @@ -44,6 +44,7 @@ void RC_Channel_Rover::init_aux_function(const aux_func_t ch_option, const AuxSw case AUX_FUNC::MANUAL: case AUX_FUNC::PITCH: case AUX_FUNC::ROLL: + case AUX_FUNC::WALKING_HEIGHT: case AUX_FUNC::RTL: case AUX_FUNC::SAILBOAT_TACK: case AUX_FUNC::SAVE_TRIM: @@ -243,6 +244,7 @@ void RC_Channel_Rover::do_aux_function(const aux_func_t ch_option, const AuxSwit case AUX_FUNC::MAINSAIL: case AUX_FUNC::PITCH: case AUX_FUNC::ROLL: + case AUX_FUNC::WALKING_HEIGHT: break; default: