Rover: sailboat tack triggered by any switch movement

This commit is contained in:
Randy Mackay 2018-11-01 15:11:37 +09:00
parent 2db6b7c7cb
commit 69e5a4b262
1 changed files with 2 additions and 3 deletions

View File

@ -237,9 +237,8 @@ void RC_Channel_Rover::do_aux_function(const aux_func_t ch_option, const aux_swi
// trigger sailboat tack
case SAILBOAT_TACK:
if (ch_flag == HIGH) {
// any switch movement interpreted as request to tack
rover.control_mode->handle_tack_request();
}
break;
default: