sensors: fixed code style

Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
Roman
2016-07-19 14:41:21 +02:00
committed by Lorenz Meier
parent 9ece090dbe
commit 1f1839d978
+1 -1
View File
@@ -2129,7 +2129,7 @@ Sensors::rc_poll()
manual.kill_switch = get_rc_sw2pos_position(rc_channels_s::RC_CHANNELS_FUNCTION_KILLSWITCH, manual.kill_switch = get_rc_sw2pos_position(rc_channels_s::RC_CHANNELS_FUNCTION_KILLSWITCH,
_parameters.rc_killswitch_th, _parameters.rc_killswitch_inv); _parameters.rc_killswitch_th, _parameters.rc_killswitch_inv);
manual.transition_switch = get_rc_sw2pos_position(rc_channels_s::RC_CHANNELS_FUNCTION_TRANSITION, manual.transition_switch = get_rc_sw2pos_position(rc_channels_s::RC_CHANNELS_FUNCTION_TRANSITION,
_parameters.rc_trans_th, _parameters.rc_trans_inv); _parameters.rc_trans_th, _parameters.rc_trans_inv);
/* publish manual_control_setpoint topic */ /* publish manual_control_setpoint topic */
if (_manual_control_pub != nullptr) { if (_manual_control_pub != nullptr) {