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

Rationalisation of sensor function names

This commit is contained in:
Martin Budden 2017-01-25 01:23:44 +00:00
parent 2725e6a9fc
commit 78350e829b
18 changed files with 67 additions and 66 deletions

View file

@ -610,12 +610,12 @@ void imuUpdateAccelerometer(void)
{
#ifdef HIL
if (sensors(SENSOR_ACC) && !hilActive) {
updateAccelerationReadings();
accUpdate();
isAccelUpdatedAtLeastOnce = true;
}
#else
if (sensors(SENSOR_ACC)) {
updateAccelerationReadings();
accUpdate();
isAccelUpdatedAtLeastOnce = true;
}
#endif