1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 06:45:16 +03:00

Fixed potentially incorrect calculation in ACC calibration if non-default cycle number is used.

This commit is contained in:
mikeller 2019-11-16 12:45:58 +13:00
parent a7cd21e632
commit a21d0f5d31
10 changed files with 14 additions and 21 deletions

View file

@ -44,7 +44,6 @@ typedef union flightDynamicsTrims_u {
flightDynamicsTrims_def_t values;
} flightDynamicsTrims_t;
#define CALIBRATING_ACC_CYCLES 400
#define CALIBRATING_BARO_CYCLES 200 // 10 seconds init_delay + 200 * 25 ms = 15 seconds before ground pressure settles
typedef enum {