1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Merge pull request #10291 from ctzsnooze/Sset-AntiGravity-off-to-zero

Sets antigravity gain to 0 when the user wants none.
This commit is contained in:
Michael Keller 2020-10-22 03:23:01 +13:00 committed by GitHub
commit ff241b7df4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@
// Anti gravity I constant // Anti gravity I constant
#define AG_KI 21.586988f; #define AG_KI 21.586988f;
#define ITERM_ACCELERATOR_GAIN_OFF 1000 #define ITERM_ACCELERATOR_GAIN_OFF 0
#define ITERM_ACCELERATOR_GAIN_MAX 30000 #define ITERM_ACCELERATOR_GAIN_MAX 30000
typedef enum { typedef enum {
PID_ROLL, PID_ROLL,