mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-13 19:40:31 +03:00
Enables retrieval of the RELEASE_NAME using MSP2 (#12878)
Retrieve releasename
This commit is contained in:
parent
16776dc29f
commit
7d1007ea03
6 changed files with 24 additions and 9 deletions
|
@ -4728,14 +4728,13 @@ static void cliStatus(const char *cmdName, char *cmdline)
|
|||
cliPrintLinef("OSD: %s (%u x %u)", lookupTableOsdDisplayPortDevice[displayPortDeviceType], osdDisplayPort->cols, osdDisplayPort->rows);
|
||||
#endif
|
||||
|
||||
#ifdef BUILD_KEY
|
||||
if (buildKey) {
|
||||
cliPrintf("BUILD KEY: %s", buildKey);
|
||||
#ifdef RELEASE_NAME
|
||||
cliPrintf(" (%s)", STR(RELEASE_NAME));
|
||||
#endif
|
||||
if (releaseName) {
|
||||
cliPrintf(" (%s)", releaseName);
|
||||
}
|
||||
cliPrintLinefeed();
|
||||
#endif
|
||||
|
||||
}
|
||||
// Uptime and wall clock
|
||||
|
||||
cliPrintf("System Uptime: %d seconds", millis() / 1000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue