1
0
mirror of https://github.com/DigitalDevices/octonet.git synced 2023-10-10 13:36:52 +02:00

fixed selection issues with ISDB-C/J83.B

This commit is contained in:
mvoelkel 2019-11-08 19:09:02 +01:00
parent 9bc21fbfa1
commit 0cf34dc35b

View File

@ -241,7 +241,7 @@ function ChangeDelSys(delsys)
{ {
if( Element.checked ) if( Element.checked )
{ {
NewSettings.DelsysMask |= (1<<delsys); NewSettings.DelsysMask |= ((1<<delsys) & SupportedDelsys);
if( delsys == 16 ) if( delsys == 16 )
{ {
NewSettings.DelsysMask |= (1<<3); NewSettings.DelsysMask |= (1<<3);
@ -252,6 +252,10 @@ function ChangeDelSys(delsys)
NewSettings.DelsysMask |= (1<<5); NewSettings.DelsysMask |= (1<<5);
document.getElementById(DelSysID[5]).checked = true; document.getElementById(DelSysID[5]).checked = true;
} }
if( delsys == 10 )
{
NewSettings.DelsysMask |= ((1<<18) & SupportedDelsys);
}
} }
else else
{ {
@ -266,6 +270,10 @@ function ChangeDelSys(delsys)
NewSettings.DelsysMask &= ~(1<<6); NewSettings.DelsysMask &= ~(1<<6);
document.getElementById(DelSysID[6]).checked = false; document.getElementById(DelSysID[6]).checked = false;
} }
if( delsys == 10 )
{
NewSettings.DelsysMask &= ~(1<<18);
}
} }
} }
document.getElementById("SetButton").disabled = false; document.getElementById("SetButton").disabled = false;
@ -435,11 +443,11 @@ function ToggleHelp(id)
DVB-C2 DVB-C2
</td> </td>
<td> <td>
<input id="SYS_ISDBC" type="checkbox" disabled="true" checked="false" onclick="ChangeDelSys(19)"/> <input id="SYS_ISDBC" type="checkbox" disabled="true" checked="false" onclick="ChangeDelSys(10)"/>
ISDB-C ISDB-C
</td> </td>
<td> <td>
<input id="SYS_DVBC_ANNEX_B" type="checkbox" disabled="true" checked="false" onclick="ChangeDelSys(2)"/> <input id="SYS_DVBC_ANNEX_B" type="checkbox" disabled="true" checked="false" onclick="ChangeDelSys(4)"/>
J83.B J83.B
</td> </td>
</tr> </tr>