diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-21 17:46:21 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-21 17:46:21 +0200 |
commit | 09ae879b8262f5ae9b0cd23f48854d4730172ae2 (patch) | |
tree | b90dc3a6d93541b1d3279a8315a490cf7723c251 /src/drivers | |
parent | d544ac09550814550e4fc07a8197f8fffb44d98d (diff) | |
download | px4-firmware-09ae879b8262f5ae9b0cd23f48854d4730172ae2.tar.gz px4-firmware-09ae879b8262f5ae9b0cd23f48854d4730172ae2.tar.bz2 px4-firmware-09ae879b8262f5ae9b0cd23f48854d4730172ae2.zip |
RC input: Replace magic numbers with better numbers, cap output to 0-100
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/drv_rc_input.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/drv_rc_input.h b/src/drivers/drv_rc_input.h index d44728a71..a24d8814f 100644 --- a/src/drivers/drv_rc_input.h +++ b/src/drivers/drv_rc_input.h @@ -65,7 +65,7 @@ /** * Maximum RSSI value */ -#define RC_INPUT_RSSI_MAX 255 +#define RC_INPUT_RSSI_MAX 100 /** * @addtogroup topics |