Skip to content

Commit

Permalink
[sec] revert(Unicable has only 8 user bands)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima73 committed Apr 25, 2024
1 parent 1e5a4fb commit 86aba6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dvb/sec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,7 @@ RESULT eDVBSatelliteEquipmentControl::prepare(iDVBFrontend &frontend, const eDVB
// data[3] "data1": data[3][7..5]: user band, data[3][4..2]: bank, data[3][1..0]: T[9..8]
// data[4] "data2": data[4][7..0]: T[7..0]

unsigned int ub = lnb_param.SatCR_idx & 0x33;
unsigned int ub = lnb_param.SatCR_idx & 0x07;
unsigned int ub_mhz = lnb_param.SatCRvco / 1000;
unsigned int frequency_mhz = sat.frequency / 1000;
unsigned int lof_mhz = lof / 1000;
Expand Down Expand Up @@ -1171,7 +1171,7 @@ void eDVBSatelliteEquipmentControl::prepareTurnOffSatCR(iDVBFrontend &frontend)
// data[3] "data1": data[3][7..5]: user band, data[3][4..2]: bank, data[3][1..0]: T[9..8]
// data[4] "data2": data[4][7..0]: T[7..0]

unsigned int ub = userband & 0x33;
unsigned int ub = userband & 0x07;
unsigned int encoded_frequency_T = 0;
unsigned int mode = 0;
unsigned int position = 0;
Expand Down

0 comments on commit 86aba6a

Please sign in to comment.