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

throtlle angle correction with propper small angle calculation :

correction angle is configurabe (from 0.1° to 90°)
correction value var renamed in cli
correction is disable when vertical or inverted
This commit is contained in:
treymarc 2014-04-12 03:15:17 +00:00
parent aa253a387d
commit 4a000c98ed
5 changed files with 22 additions and 8 deletions

View file

@ -886,7 +886,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;
}