1
0
Fork 0
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:
Dominic Clifton 2015-02-02 22:05:30 +00:00
parent 973efdd5fc
commit 395a1bb9a3

View file

@ -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)