uncrustify libraries/APM_PI/APM_PI.cpp

This commit is contained in:
uncrustify 2012-08-16 23:20:38 -07:00 committed by Pat Hickey
parent 432e293076
commit 72dd47ee56

View File

@ -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) {