mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-19 17:43:33 +08:00
clang-tidy: fix issues (#26498)
This commit is contained in:
@@ -132,7 +132,7 @@ protected:
|
||||
// Use trapezoidal integration to calculate the delta integral
|
||||
_integrated_samples++;
|
||||
_integral_dt += dt;
|
||||
const matrix::Vector3f delta_alpha{(val + _last_val) *dt * 0.5f};
|
||||
matrix::Vector3f delta_alpha{(val + _last_val) *dt * 0.5f};
|
||||
_last_val = val;
|
||||
|
||||
return delta_alpha;
|
||||
|
||||
Reference in New Issue
Block a user