1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 09:45:37 +03:00

Move calibrationCompleted flag to a 4th element in the accZero structure

Allows the flag indicating that calibration was completed to be output in the values for `acc_calibration`.
This commit is contained in:
Bruce Luckcuck 2019-10-21 11:49:11 -04:00
parent 565f1f4db5
commit 365c6cb1f6
6 changed files with 10 additions and 8 deletions

View file

@ -58,7 +58,7 @@
magDev_t magDev;
mag_t mag; // mag access functions
PG_REGISTER_WITH_RESET_FN(compassConfig_t, compassConfig, PG_COMPASS_CONFIG, 1);
PG_REGISTER_WITH_RESET_FN(compassConfig_t, compassConfig, PG_COMPASS_CONFIG, 2);
void pgResetFn_compassConfig(compassConfig_t *compassConfig)
{