Merge pull request #871 from SteveAmor/yaw_expo_curve_correction

Corrected YAW_LOOKUP_LENGTH
This commit is contained in:
Dominic Clifton 2015-05-11 11:39:21 +01:00
commit 948d39a20c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}