Skip to content

Commit

Permalink
Add FEATURE_CUT_LEVEL to the cli version command output
Browse files Browse the repository at this point in the history
  • Loading branch information
etracer65 committed Jan 19, 2019
1 parent 628fdb8 commit b68717a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/main/interface/cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
Expand Down

0 comments on commit b68717a

Please sign in to comment.