1
0
Fork 0
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:
Mark Haslinghuis 2023-06-11 02:28:52 +02:00 committed by GitHub
parent 16776dc29f
commit 7d1007ea03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 24 additions and 9 deletions

View file

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