mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 08:38:36 -04:00
uncrustify libraries/APM_PI/APM_PI.cpp
This commit is contained in:
parent
432e293076
commit
72dd47ee56
@ -21,7 +21,7 @@ int32_t APM_PI::get_p(int32_t error)
|
||||
|
||||
int32_t APM_PI::get_i(int32_t error, float dt)
|
||||
{
|
||||
if(dt != 0){
|
||||
if(dt != 0) {
|
||||
_integrator += ((float)error * _ki) * dt;
|
||||
|
||||
if (_integrator < -_imax) {
|
||||
|
Loading…
Reference in New Issue
Block a user