mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Merge pull request #1854 from AlienWiiBF/AFF3_update
Aff3 update and KakuteF4 fix
This commit is contained in:
commit
09d71b1e0b
2 changed files with 5 additions and 2 deletions
|
@ -74,6 +74,9 @@ void targetConfiguration(master_t *config)
|
||||||
#ifdef LED2_A
|
#ifdef LED2_A
|
||||||
config->statusLedConfig.ledTags[2] = IO_TAG(LED2_A);
|
config->statusLedConfig.ledTags[2] = IO_TAG(LED2_A);
|
||||||
#endif
|
#endif
|
||||||
|
} else {
|
||||||
|
config->gyroConfig.gyro_sync_denom = 2;
|
||||||
|
config->pidConfig.pid_process_denom = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
config->rxConfig.spektrum_sat_bind = 5;
|
config->rxConfig.spektrum_sat_bind = 5;
|
||||||
|
@ -82,7 +85,7 @@ void targetConfiguration(master_t *config)
|
||||||
|
|
||||||
if (hardwareMotorType == MOTOR_BRUSHED) {
|
if (hardwareMotorType == MOTOR_BRUSHED) {
|
||||||
config->motorConfig.motorPwmRate = BRUSHED_MOTORS_PWM_RATE;
|
config->motorConfig.motorPwmRate = BRUSHED_MOTORS_PWM_RATE;
|
||||||
config->pidConfig.pid_process_denom = 2;
|
config->pidConfig.pid_process_denom = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
config->profile[0].pidProfile.P8[ROLL] = 90;
|
config->profile[0].pidProfile.P8[ROLL] = 90;
|
||||||
|
|
|
@ -128,7 +128,7 @@
|
||||||
#define DEFAULT_FEATURES FEATURE_BLACKBOX
|
#define DEFAULT_FEATURES FEATURE_BLACKBOX
|
||||||
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
|
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
|
||||||
#define SERIALRX_PROVIDER SERIALRX_SBUS
|
#define SERIALRX_PROVIDER SERIALRX_SBUS
|
||||||
#define SERIALRX_UART SERIAL_PORT_USART2
|
#define SERIALRX_UART SERIAL_PORT_USART3
|
||||||
|
|
||||||
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
#define USE_SERIAL_4WAY_BLHELI_INTERFACE
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue