diff options
author | Friedemann Ludwig <frieludwig@hotmail.com> | 2014-11-30 20:51:01 +0100 |
---|---|---|
committer | Friedemann Ludwig <frieludwig@hotmail.com> | 2014-11-30 20:51:01 +0100 |
commit | 6efc63d709f5afdbed29528647776d56e7f384a6 (patch) | |
tree | 833b5f13b49d951418e51d97be6bcb3d55275e9c /src/modules/fw_att_control/fw_att_control_main.cpp | |
parent | 8e8b622f4f5c4737e0f7dad33870f23742449fe9 (diff) | |
download | px4-firmware-6efc63d709f5afdbed29528647776d56e7f384a6.tar.gz px4-firmware-6efc63d709f5afdbed29528647776d56e7f384a6.tar.bz2 px4-firmware-6efc63d709f5afdbed29528647776d56e7f384a6.zip |
fixed somereview comments
Diffstat (limited to 'src/modules/fw_att_control/fw_att_control_main.cpp')
-rw-r--r-- | src/modules/fw_att_control/fw_att_control_main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules/fw_att_control/fw_att_control_main.cpp b/src/modules/fw_att_control/fw_att_control_main.cpp index a295d61ac..2d5744b8a 100644 --- a/src/modules/fw_att_control/fw_att_control_main.cpp +++ b/src/modules/fw_att_control/fw_att_control_main.cpp @@ -768,8 +768,7 @@ FixedwingAttitudeControl::task_main() if (_att_sp.yaw_reset_integral) { _yaw_ctrl.reset_integrator(); } - } - else if (_vcontrol_mode.flag_control_velocity_enabled) { + } else if (_vcontrol_mode.flag_control_velocity_enabled) { /* * Velocity should be controlled and manual is enabled. */ |