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:
parent
f53d812fc8
commit
099e0a6064
8 changed files with 24 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue