mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 11:59:58 +03:00
Added profile / rateprofile info to 'get'.
This commit is contained in:
parent
532e8afe61
commit
227c08f94e
1 changed files with 13 additions and 0 deletions
|
@ -3308,6 +3308,19 @@ STATIC_UNIT_TESTED void cliGet(char *cmdline)
|
|||
cliPrintf("%s = ", valueTable[i].name);
|
||||
cliPrintVar(val, 0);
|
||||
cliPrintLinefeed();
|
||||
switch (val->type & VALUE_SECTION_MASK) {
|
||||
case PROFILE_VALUE:
|
||||
cliProfile("");
|
||||
|
||||
break;
|
||||
case PROFILE_RATE_VALUE:
|
||||
cliRateProfile("");
|
||||
|
||||
break;
|
||||
default:
|
||||
|
||||
break;
|
||||
}
|
||||
cliPrintVarRange(val);
|
||||
cliPrintVarDefault(val);
|
||||
matchedCommands++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue