diff --git a/Blimp/RC_Channel.cpp b/Blimp/RC_Channel.cpp index ba94d82a17..8742d3e347 100644 --- a/Blimp/RC_Channel.cpp +++ b/Blimp/RC_Channel.cpp @@ -58,7 +58,7 @@ RC_Channel * RC_Channels_Blimp::get_arming_channel(void) const } // init_aux_switch_function - initialize aux functions -void RC_Channel_Blimp::init_aux_function(const aux_func_t ch_option, const AuxSwitchPos ch_flag) +void RC_Channel_Blimp::init_aux_function(const AUX_FUNC ch_option, const AuxSwitchPos ch_flag) { // init channel options switch (ch_option) { @@ -99,7 +99,7 @@ void RC_Channel_Blimp::do_aux_function_change_mode(const Mode::Number mode, } // do_aux_function - implement the function invoked by auxiliary switches -bool RC_Channel_Blimp::do_aux_function(const aux_func_t ch_option, const AuxSwitchPos ch_flag) +bool RC_Channel_Blimp::do_aux_function(const AUX_FUNC ch_option, const AuxSwitchPos ch_flag) { switch (ch_option) { diff --git a/Blimp/RC_Channel.h b/Blimp/RC_Channel.h index ec37259794..4a6e5e0156 100644 --- a/Blimp/RC_Channel.h +++ b/Blimp/RC_Channel.h @@ -11,8 +11,8 @@ public: protected: - void init_aux_function(aux_func_t ch_option, AuxSwitchPos) override; - bool do_aux_function(aux_func_t ch_option, AuxSwitchPos) override; + void init_aux_function(AUX_FUNC ch_option, AuxSwitchPos) override; + bool do_aux_function(AUX_FUNC ch_option, AuxSwitchPos) override; private: