diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-27 21:33:19 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-12-27 21:33:19 +0100 |
commit | 965a7a4f0313ccfe67e6c0f84d76ff3350602fb0 (patch) | |
tree | 139156533f10b4a33819a2d0db4acb795083301d /src/drivers/px4io/px4io.cpp | |
parent | a9ea39054dbd6eb62fb3185465848a485c32a046 (diff) | |
download | px4-firmware-965a7a4f0313ccfe67e6c0f84d76ff3350602fb0.tar.gz px4-firmware-965a7a4f0313ccfe67e6c0f84d76ff3350602fb0.tar.bz2 px4-firmware-965a7a4f0313ccfe67e6c0f84d76ff3350602fb0.zip |
Allow to disable a channel
Diffstat (limited to 'src/drivers/px4io/px4io.cpp')
-rw-r--r-- | src/drivers/px4io/px4io.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp index 22d707233..cac7bf608 100644 --- a/src/drivers/px4io/px4io.cpp +++ b/src/drivers/px4io/px4io.cpp @@ -1098,7 +1098,7 @@ PX4IO::io_set_rc_config() /* fill the mapping with an error condition triggering value */ for (unsigned i = 0; i < _max_rc_input; i++) - input_map[i] = UINT16_MAX; + input_map[i] = UINT8_MAX; /* * NOTE: The indices for mapped channels are 1-based |