mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
allow source selection in non-unicable mode
This commit is contained in:
parent
31f36de0d7
commit
b200ce3596
@ -318,14 +318,15 @@ static int tune_sat(struct dddvb_fe *fe)
|
|||||||
fe->scif_slot, fe->scif_freq, ds);
|
fe->scif_slot, fe->scif_freq, ds);
|
||||||
pthread_mutex_unlock(&fe->dd->uni_lock);
|
pthread_mutex_unlock(&fe->dd->uni_lock);
|
||||||
} else {
|
} else {
|
||||||
uint32_t input = lnb;
|
uint32_t input = fe->param.param[PARAM_SRC];
|
||||||
|
|
||||||
//if (input != DDDVB_UNDEF)
|
if (input != DDDVB_UNDEF) {
|
||||||
// input = 3 & (input >> 6);
|
input = 3 & (input >> 6);
|
||||||
//set_property(fe->fd, DTV_INPUT, 3 & (lnb >> 6));
|
printf("input = %u\n", input);
|
||||||
|
}
|
||||||
diseqc(fe->fd, lnb, fe->param.param[PARAM_POL], hi);
|
diseqc(fe->fd, lnb, fe->param.param[PARAM_POL], hi);
|
||||||
//set_fe_input(fe, freq, fe->param.param[PARAM_SR], ds, input);
|
set_fe_input(fe, freq, fe->param.param[PARAM_SR], ds, input);
|
||||||
set_fe_input(fe, freq, fe->param.param[PARAM_SR], ds, ~(0U));
|
//set_fe_input(fe, freq, fe->param.param[PARAM_SR], ds, DDDVB_UNDEF);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user