Fixed format

This commit is contained in:
Khoi Tran 2017-01-28 23:10:15 -07:00 committed by Lorenz Meier
parent 2428ff9f3a
commit 21f8e07836
1 changed files with 1 additions and 0 deletions

View File

@ -807,6 +807,7 @@ MulticopterPositionControl::scale_control(float ctl, float end, float dz, float
} else {
if (dz < FLT_EPSILON) {
return 0;
} else {
return ctl * (dy / dz);
}