From 27f864b5770291e8f72504a8db20efd19a8fbdea Mon Sep 17 00:00:00 2001 From: Ralph Metzler Date: Wed, 26 Sep 2018 13:17:04 +0200 Subject: [PATCH] set modulation type if parameter given by client --- octoserve/dvb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/octoserve/dvb.c b/octoserve/dvb.c index ad2788d..048dd57 100644 --- a/octoserve/dvb.c +++ b/octoserve/dvb.c @@ -212,6 +212,8 @@ static int set_fe_input(struct dvbfe *fe, uint32_t fr, if (fe->set & (1UL << PARAM_PLS)) set_property(fd, DTV_SCRAMBLING_SEQUENCE_INDEX, 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); return 0; }