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:
commit
a5b6d49851
9 changed files with 21 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue