mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +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);
|
||||
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue