1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Removed leftover references to 'gyro_align', 'acc_align'.

This commit is contained in:
mikeller 2019-02-01 01:50:40 +13:00
parent ae194f2eb3
commit 21edada68b
6 changed files with 8 additions and 13 deletions

View file

@ -100,7 +100,7 @@ static flightDynamicsTrims_t *accelerationTrims;
static uint16_t accLpfCutHz = 0;
static biquadFilter_t accFilter[XYZ_AXIS_COUNT];
PG_REGISTER_WITH_RESET_FN(accelerometerConfig_t, accelerometerConfig, PG_ACCELEROMETER_CONFIG, 0);
PG_REGISTER_WITH_RESET_FN(accelerometerConfig_t, accelerometerConfig, PG_ACCELEROMETER_CONFIG, 1);
void resetRollAndPitchTrims(rollAndPitchTrims_t *rollAndPitchTrims)
{
@ -131,7 +131,6 @@ void pgResetFn_accelerometerConfig(accelerometerConfig_t *instance)
{
RESET_CONFIG_2(accelerometerConfig_t, instance,
.acc_lpf_hz = 10,
.acc_align = ALIGN_DEFAULT,
.acc_hardware = ACC_DEFAULT,
.acc_high_fsr = false,
);