linuxdvb: fix diseqc LNB setting for polarity
I had forgotten to setup the voltage field used for polarity switching which meant I was always getting V. This is why my scanning was going cock eyed. Think I probably need to add back in some sanity checks.
This commit is contained in:
parent
b139c76180
commit
dd0e7b1ea4
1 changed files with 3 additions and 1 deletions
|
@ -336,7 +336,9 @@ static int uni_tune
|
|||
{
|
||||
dvb_mux_conf_t *dmc = &lm->lm_tuning;
|
||||
struct dvb_frontend_parameters *p = &dmc->dmc_fe_params;
|
||||
return diseqc_setup(fd, 0, 0, p->frequency > 11700000, 0, 0);
|
||||
int pol = dmc->dmc_fe_polarisation == POLARISATION_HORIZONTAL ||
|
||||
dmc->dmc_fe_polarisation == POLARISATION_CIRCULAR_LEFT;
|
||||
return diseqc_setup(fd, 0, pol, p->frequency > 11700000, 0, 0);
|
||||
}
|
||||
|
||||
linuxdvb_satconf_t *
|
||||
|
|
Loading…
Add table
Reference in a new issue