mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +03:00
Merge pull request #7061 from pulquero/support_uint32_set_vars
Support for setting uint32 vars.
This commit is contained in:
commit
3259abfbc0
2 changed files with 39 additions and 14 deletions
|
@ -181,10 +181,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