mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Merge pull request #871 from SteveAmor/yaw_expo_curve_correction
Corrected YAW_LOOKUP_LENGTH
This commit is contained in:
commit
948d39a20c
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ void generateYawCurve(controlRateConfig_t *controlRateConfig)
|
||||||
{
|
{
|
||||||
uint8_t i;
|
uint8_t i;
|
||||||
|
|
||||||
for (i = 0; i < PITCH_LOOKUP_LENGTH; i++)
|
for (i = 0; i < YAW_LOOKUP_LENGTH; i++)
|
||||||
lookupYawRC[i] = (2500 + controlRateConfig->rcYawExpo8 * (i * i - 25)) * i / 25;
|
lookupYawRC[i] = (2500 + controlRateConfig->rcYawExpo8 * (i * i - 25)) * i / 25;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue