Fix video system selection for MSP

10.9-maintenance
Mark Haslinghuis 2022-10-29 06:06:48 +02:00
parent c3a81ca438
commit 6e4ca6816b
1 changed files with 2 additions and 1 deletions

View File

@ -2181,6 +2181,7 @@ OSD.msp = {
d.state.isMax7456FontDeviceDetected = bit_check(d.flags, 5) || (d.state.haveMax7456FontDeviceConfigured && semver.lt(FC.CONFIG.apiVersion, API_VERSION_1_43));
d.state.haveOsdFeature = bit_check(d.flags, 0) || (d.flags === 1 && semver.lt(FC.CONFIG.apiVersion, API_VERSION_1_34));
d.state.isOsdSlave = bit_check(d.flags, 1) && semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_34);
d.state.isMspDevice = bit_check(d.flags, 6) && semver.gte(FC.CONFIG.apiVersion, API_VERSION_1_45);
d.displayItems = [];
d.statItems = [];
@ -2870,7 +2871,7 @@ osd.initialize = function(callback) {
}
}
if (!OSD.data.state.haveMax7456Configured) {
if (!(OSD.data.state.haveMax7456Configured || OSD.data.state.isMspDevice)) {
$('.requires-max7456').hide();
}