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

Fixed reporting of configured / detected OSD device.

This commit is contained in:
mikeller 2020-05-17 03:56:20 +12:00
parent 6aeac3caa6
commit 98efe1a972
4 changed files with 29 additions and 29 deletions

View file

@ -4741,10 +4741,10 @@ static void cliStatus(const char *cmdName, char *cmdline)
#endif /* USE_SENSOR_NAMES */
#if defined(USE_OSD)
osdDisplayPortDevice_e displayPortDevice;
osdGetDisplayPort(&displayPortDevice);
osdDisplayPortDevice_e displayPortDeviceType;
osdGetDisplayPort(&displayPortDeviceType);
cliPrintLinef("OSD: %s", lookupTableOsdDisplayPortDevice[displayPortDevice]);
cliPrintLinef("OSD: %s", lookupTableOsdDisplayPortDevice[displayPortDeviceType]);
#endif
// Uptime and wall clock