1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 09:45:33 +03:00

Merge pull request #3392 from shellixyz/improve_video_system_selection

Improve video system selection
This commit is contained in:
Alberto García Hierro 2018-06-22 23:00:47 +01:00 committed by GitHub
commit a5b6d49851
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 21 additions and 20 deletions

View file

@ -558,9 +558,7 @@ void init(void)
if (feature(FEATURE_OSD)) {
#if defined(USE_MAX7456)
// If there is a max7456 chip for the OSD then use it
static vcdProfile_t vcdProfile;
vcdProfile.video_system = osdConfig()->video_system;
osdDisplayPort = max7456DisplayPortInit(&vcdProfile);
osdDisplayPort = max7456DisplayPortInit(osdConfig()->video_system);
#elif defined(USE_OSD_OVER_MSP_DISPLAYPORT) // OSD over MSP; not supported (yet)
osdDisplayPort = displayPortMspInit();
#endif