Browse Source

Copter: correct use of incorrect name for type

master
Peter Barker 6 years ago committed by Peter Barker
parent
commit
48155e72eb
  1. 2
      ArduCopter/RC_Channel.cpp

2
ArduCopter/RC_Channel.cpp

@ -143,7 +143,7 @@ void RC_Channel_Copter::do_aux_function(const aux_func_t ch_option, const aux_sw @@ -143,7 +143,7 @@ void RC_Channel_Copter::do_aux_function(const aux_func_t ch_option, const aux_sw
switch(ch_option) {
case FLIP:
// flip if switch is on, positive throttle and we're actually flying
if (ch_flag == aux_switch_pos::HIGH) {
if (ch_flag == aux_switch_pos_t::HIGH) {
copter.set_mode(control_mode_t::FLIP, MODE_REASON_TX_COMMAND);
}
break;

Loading…
Cancel
Save