aboutsummaryrefslogtreecommitdiff
path: root/apps/px4io/mixer.cpp
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-01-06 10:45:19 +0100
committerLorenz Meier <lm@inf.ethz.ch>2013-01-06 10:45:19 +0100
commite2317edde851831b20d3b8e97a86b8f6d639c885 (patch)
tree7cb9a4b8460498cb285fc1dd279e54b189eeca06 /apps/px4io/mixer.cpp
parent1b2e8868788e9b8541b9e4218b6985097ca241a2 (diff)
downloadpx4-firmware-e2317edde851831b20d3b8e97a86b8f6d639c885.tar.gz
px4-firmware-e2317edde851831b20d3b8e97a86b8f6d639c885.tar.bz2
px4-firmware-e2317edde851831b20d3b8e97a86b8f6d639c885.zip
Code style fix
Diffstat (limited to 'apps/px4io/mixer.cpp')
-rw-r--r--apps/px4io/mixer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/px4io/mixer.cpp b/apps/px4io/mixer.cpp
index b96ff8491..052876954 100644
--- a/apps/px4io/mixer.cpp
+++ b/apps/px4io/mixer.cpp
@@ -97,7 +97,7 @@ mixer_tick(void)
*/
/* this is for planes, where manual override makes sense */
- if(system_state.manual_override_ok) {
+ if (system_state.manual_override_ok) {
/* if everything is ok */
if (!system_state.mixer_manual_override && system_state.mixer_fmu_available) {
/* we have recent control data from the FMU */
@@ -118,7 +118,7 @@ mixer_tick(void)
/* this is for multicopters, etc. where manual override does not make sense */
} else {
/* if the fmu is available whe are good */
- if(system_state.mixer_fmu_available) {
+ if (system_state.mixer_fmu_available) {
control_count = PX4IO_CONTROL_CHANNELS;
control_values = &system_state.fmu_channel_data[0];
/* we better shut everything off */