1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-24 00:35:34 +03:00

SENSORS: Gyro/accel aligmnet fix

This commit is contained in:
Konstantin Sharlaimov (DigitalEntity) 2016-04-12 09:55:22 +10:00
parent 2131daf42e
commit 1ee9e1251d
2 changed files with 4 additions and 4 deletions

View file

@ -207,9 +207,9 @@ void updateAccelerationReadings(void)
performAcclerationCalibration();
}
alignSensors(accADC, accADC, accAlign);
applyAccelerationZero(accZero, accGain);
alignSensors(accADC, accADC, accAlign);
}
void setAccelerationZero(flightDynamicsTrims_t * accZeroToUse)