mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-03 03:00:36 +08:00
make format
This commit is contained in:
committed by
Lorenz Meier
parent
afbeafebd8
commit
cfa412b55f
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user