Merge pull request #871 from SteveAmor/yaw_expo_curve_correction
Corrected YAW_LOOKUP_LENGTH
This commit is contained in:
commit
948d39a20c
|
@ -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…
Reference in New Issue