mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Corrected YAW_LOOKUP_LENGTH
This commit is contained in:
parent
fe40472050
commit
57735857b4
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ void generateYawCurve(controlRateConfig_t *controlRateConfig)
|
|||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue