From 1e6e16e46821a0ed4f8e46b70fe5acf639f7b79f Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sat, 10 Apr 2021 23:19:06 +0100 Subject: [PATCH] Rover: RC_Channel: add WIND_VANE_DIR_OFSSET --- Rover/RC_Channel.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Rover/RC_Channel.cpp b/Rover/RC_Channel.cpp index f052c45a04..7716894964 100644 --- a/Rover/RC_Channel.cpp +++ b/Rover/RC_Channel.cpp @@ -52,6 +52,7 @@ void RC_Channel_Rover::init_aux_function(const aux_func_t ch_option, const AuxSw case AUX_FUNC::SIMPLE: case AUX_FUNC::SMART_RTL: case AUX_FUNC::STEERING: + case AUX_FUNC::WIND_VANE_DIR_OFSSET: break; case AUX_FUNC::SAILBOAT_MOTOR_3POS: do_aux_function_sailboat_motor_3pos(ch_flag); @@ -245,6 +246,7 @@ bool RC_Channel_Rover::do_aux_function(const aux_func_t ch_option, const AuxSwit case AUX_FUNC::PITCH: case AUX_FUNC::ROLL: case AUX_FUNC::WALKING_HEIGHT: + case AUX_FUNC::WIND_VANE_DIR_OFSSET: break; default: