mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 05:53:34 +08:00
fw att control: Code style fixes
This commit is contained in:
@@ -1100,8 +1100,8 @@ FixedwingAttitudeControl::task_main()
|
|||||||
|
|
||||||
/* Only publish if any of the proper modes are enabled */
|
/* Only publish if any of the proper modes are enabled */
|
||||||
if(_vcontrol_mode.flag_control_rates_enabled ||
|
if(_vcontrol_mode.flag_control_rates_enabled ||
|
||||||
_vcontrol_mode.flag_control_attitude_enabled ||
|
_vcontrol_mode.flag_control_attitude_enabled ||
|
||||||
_vcontrol_mode.flag_control_manual_enabled)
|
_vcontrol_mode.flag_control_manual_enabled)
|
||||||
{
|
{
|
||||||
/* publish the actuator controls */
|
/* publish the actuator controls */
|
||||||
if (_actuators_0_pub > 0) {
|
if (_actuators_0_pub > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user