1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 00:05:33 +03:00

IMU naming cleanup.

This commit is contained in:
Dominic Clifton 2015-01-31 22:23:38 +01:00
parent 8b0a982931
commit 01b2ce0b36
8 changed files with 23 additions and 23 deletions

View file

@ -663,7 +663,7 @@ void loop(void)
if (masterConfig.looptime == 0 || (int32_t)(currentTime - loopTime) >= 0) {
loopTime = currentTime + masterConfig.looptime;
computeIMU(&currentProfile->accelerometerTrims, masterConfig.mixerMode);
imuUpdate(&currentProfile->accelerometerTrims, masterConfig.mixerMode);
// Measure loop rate just after reading the sensors
currentTime = micros();