TradHeli: disable aux channels 7 and 8
This commit is contained in:
parent
bc311542ab
commit
1426078cdb
@ -227,6 +227,10 @@ void AP_MotorsHeli::Init()
|
||||
|
||||
// initialise swash plate
|
||||
init_swash();
|
||||
|
||||
// disable channels 7 and 8 from being used by RC_Channel_aux
|
||||
RC_Channel_aux::disable_aux_channel(_motor_to_channel_map[AP_MOTORS_HELI_AUX]);
|
||||
RC_Channel_aux::disable_aux_channel(_motor_to_channel_map[AP_MOTORS_HELI_RSC]);
|
||||
}
|
||||
|
||||
// set update rate to motors - a value in hertz
|
||||
|
@ -12,10 +12,6 @@
|
||||
#include <RC_Channel.h> // RC Channel Library
|
||||
#include "AP_Motors.h"
|
||||
|
||||
// output channels
|
||||
#define AP_MOTORS_HELI_EXT_GYRO CH_7 // tail servo uses channel 7
|
||||
#define AP_MOTORS_HELI_EXT_RSC CH_8 // main rotor controlled with channel 8
|
||||
|
||||
// maximum number of swashplate servos
|
||||
#define AP_MOTORS_HELI_NUM_SWASHPLATE_SERVOS 3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user