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:
parent
2725e6a9fc
commit
78350e829b
18 changed files with 67 additions and 66 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue