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

Switched initIMU to consistant name.

This commit is contained in:
Pierre Hugo 2015-01-21 19:36:41 -08:00
parent 80b78fd808
commit ab8b5efe2c
2 changed files with 3 additions and 3 deletions

View file

@ -86,7 +86,7 @@ void configureImu(imuRuntimeConfig_t *initialImuRuntimeConfig, pidProfile_t *ini
accDeadband = initialAccDeadband;
}
void imuInit()
void initIMU()
{
smallAngle = lrintf(acc_1G * cosf(degreesToRadians(imuRuntimeConfig->small_angle)));
accVelScale = 9.80665f / acc_1G / 10000.0f;