mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
set modulation type if parameter given by client
This commit is contained in:
parent
ca2e8601c9
commit
27f864b577
@ -212,6 +212,8 @@ static int set_fe_input(struct dvbfe *fe, uint32_t fr,
|
|||||||
if (fe->set & (1UL << PARAM_PLS))
|
if (fe->set & (1UL << PARAM_PLS))
|
||||||
set_property(fd, DTV_SCRAMBLING_SEQUENCE_INDEX,
|
set_property(fd, DTV_SCRAMBLING_SEQUENCE_INDEX,
|
||||||
fe->param[PARAM_PLS]);
|
fe->param[PARAM_PLS]);
|
||||||
|
if (fe->set & (1UL << PARAM_MTYPE))
|
||||||
|
set_property(fd, DTV_MODULATION, fe->param[PARAM_MTYPE] - 1);
|
||||||
set_property(fd, DTV_TUNE, 0);
|
set_property(fd, DTV_TUNE, 0);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user