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:
parent
2131daf42e
commit
1ee9e1251d
2 changed files with 4 additions and 4 deletions
|
@ -207,9 +207,9 @@ void updateAccelerationReadings(void)
|
|||
performAcclerationCalibration();
|
||||
}
|
||||
|
||||
alignSensors(accADC, accADC, accAlign);
|
||||
|
||||
applyAccelerationZero(accZero, accGain);
|
||||
|
||||
alignSensors(accADC, accADC, accAlign);
|
||||
}
|
||||
|
||||
void setAccelerationZero(flightDynamicsTrims_t * accZeroToUse)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue