mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 04:15:44 +03:00
Update cli version command to show the version number now that there is
one available.
This commit is contained in:
parent
973efdd5fc
commit
395a1bb9a3
1 changed files with 9 additions and 1 deletions
|
@ -1393,7 +1393,15 @@ static void cliVersion(char *cmdline)
|
||||||
{
|
{
|
||||||
UNUSED(cmdline);
|
UNUSED(cmdline);
|
||||||
|
|
||||||
printf("Cleanflight/%s %s / %s (%s)", targetName, buildDate, buildTime, shortGitRevision);
|
printf("Cleanflight/%s %d.%d.%d %s / %s (%s)",
|
||||||
|
targetName,
|
||||||
|
FC_VERSION_MAJOR,
|
||||||
|
FC_VERSION_MINOR,
|
||||||
|
FC_VERSION_PATCH_LEVEL,
|
||||||
|
buildDate,
|
||||||
|
buildTime,
|
||||||
|
shortGitRevision
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void cliProcess(void)
|
void cliProcess(void)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue