Merge pull request #7433 from etracer65/cli_expose_feature_cut_level

Add FEATURE_CUT_LEVEL to the cli version command output
This commit is contained in:
Michael Keller 2019-01-21 11:34:22 +13:00 committed by GitHub
commit 9e9a46ef0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -3811,7 +3811,7 @@ static void cliVersion(char *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,
targetName,
systemConfig()->boardIdentifier,
@ -3821,6 +3821,11 @@ static void cliVersion(char *cmdline)
shortGitRevision,
MSP_API_VERSION_STRING
);
#ifdef FEATURE_CUT_LEVEL
cliPrintLinef(" / FEATURE CUT LEVEL %d", FEATURE_CUT_LEVEL);
#else
cliPrintLinefeed();
#endif
}
#ifdef USE_RC_SMOOTHING_FILTER