1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Merge pull request #75 from treymarc/althold

throtlle angle correction with propper small angle calculation
This commit is contained in:
dongie 2014-04-12 12:17:29 +09:00
commit 2ecde1876d
5 changed files with 22 additions and 8 deletions

View file

@ -884,7 +884,7 @@ void loop(void)
}
#endif
if (cfg.throttle_angle_correction && (f.ANGLE_MODE || f.HORIZON_MODE)) {
if (cfg.throttle_correction_value && (f.ANGLE_MODE || f.HORIZON_MODE)) {
rcCommand[THROTTLE] += throttleAngleCorrection;
}