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

don't readout modulation too soon

This commit is contained in:
Ralph Metzler 2019-11-04 19:06:01 +01:00
parent 4ce013bbb7
commit 960ee48a10

View File

@ -349,7 +349,7 @@ static void calc_lq(struct dddvb_fe *fe)
get_property(fe->fd, DTV_INNER_FEC, &fec); get_property(fe->fd, DTV_INNER_FEC, &fec);
fe->param.param[PARAM_FEC] = fec; fe->param.param[PARAM_FEC] = fec;
get_property(fe->fd, DTV_MODULATION, &mod); get_property(fe->fd, DTV_MODULATION, &mod);
fe->param.param[PARAM_MTYPE] = mod; //fe->param.param[PARAM_MTYPE] = mod;
get_stat(fe->fd, DTV_STAT_PRE_ERROR_BIT_COUNT, &st); get_stat(fe->fd, DTV_STAT_PRE_ERROR_BIT_COUNT, &st);
ber_num = st.stat[0].uvalue; ber_num = st.stat[0].uvalue;