mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
Copter: correct use of incorrect name for type
This commit is contained in:
parent
87aeaf7315
commit
48155e72eb
@ -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…
Reference in New Issue
Block a user