diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2013-11-01 13:59:24 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2013-11-01 13:59:24 +0400 |
commit | af12065826060e3ac071869bf39a82695e1d88e8 (patch) | |
tree | e22fba8bcf5d2db9b0e32aae7327d1dc233de03c /src | |
parent | 97acb49028da526ad9081e9eecea97ec0a822858 (diff) | |
download | px4-firmware-af12065826060e3ac071869bf39a82695e1d88e8.tar.gz px4-firmware-af12065826060e3ac071869bf39a82695e1d88e8.tar.bz2 px4-firmware-af12065826060e3ac071869bf39a82695e1d88e8.zip |
sensors: code style fixed
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/sensors/sensors.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index 21da44d10..3b1460b73 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -1276,6 +1276,7 @@ Sensors::rc_poll() if (_parameters.rc_fs_mode == 0) { if (rc_input.values[_parameters.rc_fs_ch - 1] < _parameters.rc_fs_thr) return; + } else if (_parameters.rc_fs_mode == 1) { if (rc_input.values[_parameters.rc_fs_ch - 1] > _parameters.rc_fs_thr) return; |