1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 03:50:02 +03:00

Merge pull request #9807 from mikeller/fix_osd_device_reporting

This commit is contained in:
Michael Keller 2020-05-28 01:19:04 +12:00 committed by GitHub
commit 6bada9c5e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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