mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
Support for setting uint32 vars.
Signed-off-by: Mark Hale <mark.hale@physics.org>
This commit is contained in:
parent
0fae0a49c5
commit
0ace402ea3
2 changed files with 39 additions and 14 deletions
|
@ -178,10 +178,11 @@ typedef struct cliArrayLengthConfig_s {
|
|||
} cliArrayLengthConfig_t;
|
||||
|
||||
typedef union {
|
||||
cliLookupTableConfig_t lookup;
|
||||
cliMinMaxConfig_t minmax;
|
||||
cliArrayLengthConfig_t array;
|
||||
uint8_t bitpos;
|
||||
cliLookupTableConfig_t lookup; // used for MODE_LOOKUP excl. VAR_UINT32
|
||||
cliMinMaxConfig_t minmax; // used for MODE_DIRECT
|
||||
cliArrayLengthConfig_t array; // used for MODE_ARRAY
|
||||
uint8_t bitpos; // used for MODE_BITSET
|
||||
uint32_t u32_max; // used for MODE_DIRECT with VAR_UINT32
|
||||
} cliValueConfig_t;
|
||||
|
||||
typedef struct clivalue_s {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue