forked from Archive/PX4-Autopilot
fw att control: Code style fixes
This commit is contained in:
parent
c99489ee9d
commit
21fde4b3f6
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue