Allow to disable a channel

This commit is contained in:
Lorenz Meier
2013-12-27 21:33:19 +01:00
parent a9ea39054d
commit 965a7a4f03
2 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -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