From 65e332e75d76b271d11d4b1c07875520281e8977 Mon Sep 17 00:00:00 2001 From: Michael Jakob Date: Mon, 19 Dec 2016 21:31:55 +0100 Subject: [PATCH] AlienFlight F3 custom configuration update Fix gyro and pid denominator for V1, V2 and brushed, brushless configuration --- src/main/target/ALIENFLIGHTF3/config.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/target/ALIENFLIGHTF3/config.c b/src/main/target/ALIENFLIGHTF3/config.c index e1d7b9e33..135104b09 100644 --- a/src/main/target/ALIENFLIGHTF3/config.c +++ b/src/main/target/ALIENFLIGHTF3/config.c @@ -74,6 +74,9 @@ void targetConfiguration(master_t *config) #ifdef LED2_A config->statusLedConfig.ledTags[2] = IO_TAG(LED2_A); #endif + } else { + config->gyroConfig.gyro_sync_denom = 2; + config->pidConfig.pid_process_denom = 2; } config->rxConfig.spektrum_sat_bind = 5; @@ -82,7 +85,7 @@ void targetConfiguration(master_t *config) if (hardwareMotorType == MOTOR_BRUSHED) { 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;