Adding notes regarding rcOptions.
This commit is contained in:
parent
1d2676b33b
commit
ff05ce29a9
|
@ -4,6 +4,14 @@
|
|||
#include "runtime_config.h"
|
||||
|
||||
flags_t f;
|
||||
|
||||
// each entry in the array is a bitmask, 3 bits per aux channel (only aux 1 to 4), aux1 is first, each bit corresponds to an rc channel reading
|
||||
// bit 1 - stick LOW
|
||||
// bit 2 - stick MIDDLE
|
||||
// bit 3 - stick HIGH
|
||||
// an option is enabled when ANY channel has an appropriate reading corresponding to the bit.
|
||||
// an option is disabled when NO channel has an appropriate reading corresponding to the bit.
|
||||
// example: 110000000001 - option is only enabled when AUX1 is LOW or AUX4 is MEDIUM or HIGH.
|
||||
uint8_t rcOptions[CHECKBOX_ITEM_COUNT];
|
||||
|
||||
static uint32_t enabledSensors = 0;
|
||||
|
|
Loading…
Reference in New Issue