mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Fixed conditional scope.
Fix unit tests.
This commit is contained in:
parent
0ba3c5e468
commit
b578801208
2 changed files with 7 additions and 3 deletions
|
@ -94,6 +94,9 @@ void setDefaultTestSettings(void) {
|
|||
pidProfile->pid[PID_YAW] = { 70, 45, 20, 60 };
|
||||
pidProfile->pid[PID_LEVEL] = { 50, 50, 75, 0 };
|
||||
|
||||
// Compensate for the upscaling done without 'use_integrated_yaw'
|
||||
pidProfile->pid[PID_YAW].I = pidProfile->pid[PID_YAW].I / 2.5f;
|
||||
|
||||
pidProfile->pidSumLimit = PIDSUM_LIMIT;
|
||||
pidProfile->pidSumLimitYaw = PIDSUM_LIMIT_YAW;
|
||||
pidProfile->yaw_lowpass_hz = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue