mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
Add FEATURE_CUT_LEVEL to the cli version command output
This commit is contained in:
parent
628fdb8adc
commit
b68717a03b
1 changed files with 6 additions and 1 deletions
|
@ -3811,7 +3811,7 @@ static void cliVersion(char *cmdline)
|
||||||
{
|
{
|
||||||
UNUSED(cmdline);
|
UNUSED(cmdline);
|
||||||
|
|
||||||
cliPrintLinef("# %s / %s (%s) %s %s / %s (%s) MSP API: %s",
|
cliPrintf("# %s / %s (%s) %s %s / %s (%s) MSP API: %s",
|
||||||
FC_FIRMWARE_NAME,
|
FC_FIRMWARE_NAME,
|
||||||
targetName,
|
targetName,
|
||||||
systemConfig()->boardIdentifier,
|
systemConfig()->boardIdentifier,
|
||||||
|
@ -3821,6 +3821,11 @@ static void cliVersion(char *cmdline)
|
||||||
shortGitRevision,
|
shortGitRevision,
|
||||||
MSP_API_VERSION_STRING
|
MSP_API_VERSION_STRING
|
||||||
);
|
);
|
||||||
|
#ifdef FEATURE_CUT_LEVEL
|
||||||
|
cliPrintLinef(" / FEATURE CUT LEVEL %d", FEATURE_CUT_LEVEL);
|
||||||
|
#else
|
||||||
|
cliPrintLinefeed();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef USE_RC_SMOOTHING_FILTER
|
#ifdef USE_RC_SMOOTHING_FILTER
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue