mirror of
https://github.com/DigitalDevices/octonet.git
synced 2023-10-10 13:36:52 +02:00
cable tuning using new API was missing modulation parameter
This commit is contained in:
parent
dab77defed
commit
00f4309fcd
@ -357,6 +357,8 @@ static int tune_c(struct dvbfe *fe)
|
||||
{ .cmd = DTV_SYMBOL_RATE, .u.data = fe->param[PARAM_SR] * 1000 },
|
||||
{ .cmd = DTV_INNER_FEC,
|
||||
.u.data = fe->param[PARAM_FEC] ? (fe->param[PARAM_FEC] - 1) : FEC_AUTO },
|
||||
{ .cmd = DTV_MODULATION,
|
||||
.u.data = fe->param[PARAM_MTYPE] ? (fe->param[PARAM_MTYPE] - 1) : QAM_AUTO },
|
||||
{ .cmd = DTV_TUNE },
|
||||
};
|
||||
struct dtv_properties c;
|
||||
@ -364,7 +366,7 @@ static int tune_c(struct dvbfe *fe)
|
||||
|
||||
set_property(fe->fd, DTV_DELIVERY_SYSTEM, SYS_DVBC_ANNEX_A);
|
||||
|
||||
c.num = 6;
|
||||
c.num = 7;
|
||||
c.props = p;
|
||||
ret = ioctl(fe->fd, FE_SET_PROPERTY, &c);
|
||||
if (ret < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user