mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 03:50:02 +03:00
Display OSD canvas size in status command (#12108)
This commit is contained in:
parent
702d33632a
commit
1c87809ce4
1 changed files with 2 additions and 2 deletions
|
@ -4808,9 +4808,9 @@ static void cliStatus(const char *cmdName, char *cmdline)
|
|||
|
||||
#if defined(USE_OSD)
|
||||
osdDisplayPortDevice_e displayPortDeviceType;
|
||||
osdGetDisplayPort(&displayPortDeviceType);
|
||||
displayPort_t *osdDisplayPort = osdGetDisplayPort(&displayPortDeviceType);
|
||||
|
||||
cliPrintLinef("OSD: %s", lookupTableOsdDisplayPortDevice[displayPortDeviceType]);
|
||||
cliPrintLinef("OSD: %s (%u x %u)", lookupTableOsdDisplayPortDevice[displayPortDeviceType], osdDisplayPort->cols, osdDisplayPort->rows);
|
||||
#endif
|
||||
|
||||
#ifdef BUILD_KEY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue