1
0
mirror of https://github.com/DigitalDevices/dddvb.git synced 2023-10-10 13:37:43 +02:00

wrong bitmask for compatibility mode

This commit is contained in:
Ralph Metzler 2017-07-29 14:47:57 +02:00
parent fd41904378
commit d3ca949ec5

View File

@ -998,9 +998,8 @@ static int Start(struct stv *state, struct dtv_frontend_properties *p)
write_reg(state, RSTV0910_P2_PLROOT1 + state->regoff, write_reg(state, RSTV0910_P2_PLROOT1 + state->regoff,
(ScramblingCode >> 8) & 0xff); (ScramblingCode >> 8) & 0xff);
write_reg(state, RSTV0910_P2_PLROOT2 + state->regoff, write_reg(state, RSTV0910_P2_PLROOT2 + state->regoff,
(ScramblingCode >> 16) & 0x07); (ScramblingCode >> 16) & 0x0f);
state->CurScramblingCode = ScramblingCode; state->CurScramblingCode = ScramblingCode;
//pr_info("PLS=%08x\n", ScramblingCode);
} }
if (p->symbol_rate <= 1000000) { /*SR <=1Msps*/ if (p->symbol_rate <= 1000000) { /*SR <=1Msps*/