make format

This commit is contained in:
Dennis Mannhart
2018-04-30 11:01:37 +02:00
committed by Lorenz Meier
parent afbeafebd8
commit cfa412b55f
2 changed files with 2 additions and 1 deletions
@@ -83,6 +83,7 @@ void FlightTaskManualStabilized::_updateHeadingSetpoints()
// hold the current heading when no more rotation commanded
if (!PX4_ISFINITE(_yaw_setpoint)) {
_yaw_setpoint = _yaw;
} else {
// check reset counter and update yaw setpoint if necessary
if (_sub_attitude->get().quat_reset_counter != _heading_reset_counter) {