1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-13 19:40:31 +03:00

Added OSD status to CLI 'status' output.

This commit is contained in:
Michael Keller 2020-01-14 13:53:15 +13:00 committed by mikeller
parent f53d812fc8
commit 099e0a6064
8 changed files with 24 additions and 12 deletions

View file

@ -4648,6 +4648,13 @@ static void cliStatus(char *cmdline)
cliPrintLinefeed();
#endif /* USE_SENSOR_NAMES */
#if defined(USE_OSD)
osdDisplayPortDevice_e displayPortDevice;
osdGetDisplayPort(&displayPortDevice);
cliPrintLinef("OSD: %s", lookupTableOsdDisplayPortDevice[displayPortDevice]);
#endif
// Uptime and wall clock
cliPrintf("System Uptime: %d seconds", millis() / 1000);