mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
use full declaration for ImuInit
This commit is contained in:
parent
6999cf1742
commit
1613c2d572
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ void imuConfigure(
|
|||
throttleAngleScale = calculateThrottleAngleScale(throttle_correction_angle);
|
||||
}
|
||||
|
||||
void imuInit()
|
||||
void imuInit(void)
|
||||
{
|
||||
smallAngle = lrintf(acc_1G * cos_approx(degreesToRadians(imuRuntimeConfig->small_angle)));
|
||||
accVelScale = 9.80665f / acc_1G / 10000.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue