Copter: disable aux channels used for motors

This commit is contained in:
Randy Mackay 2014-02-07 22:03:34 +09:00
parent 7c25247c87
commit 14409ee20f
1 changed files with 3 additions and 0 deletions

View File

@ -387,6 +387,9 @@ void AP_MotorsMatrix::add_motor_raw(int8_t motor_num, float roll_fac, float pitc
// set order that motor appears in test
_test_order[motor_num] = testing_order;
// disable this channel from being used by RC_Channel_aux
RC_Channel_aux::disable_aux_channel(_motor_to_channel_map[motor_num]);
}
}