mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +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)
|
#if defined(USE_OSD)
|
||||||
osdDisplayPortDevice_e displayPortDeviceType;
|
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
|
#endif
|
||||||
|
|
||||||
#ifdef BUILD_KEY
|
#ifdef BUILD_KEY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue