1
0
Fork 0
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:
Steve Evans 2022-12-30 06:35:41 +00:00 committed by GitHub
parent 702d33632a
commit 1c87809ce4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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