mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-01 07:31:36 +08:00
fix code style if trivial one line difference
This commit is contained in:
committed by
Lorenz Meier
parent
c147424fe7
commit
c2abb0f82a
@@ -15,6 +15,7 @@ void inertial_filter_predict(float dt, float x[2], float acc)
|
||||
if (!isfinite(acc)) {
|
||||
acc = 0.0f;
|
||||
}
|
||||
|
||||
x[0] += x[1] * dt + acc * dt * dt / 2.0f;
|
||||
x[1] += acc * dt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user