linuxdvb satconf: tone off - move log
This commit is contained in:
parent
5d7039c6da
commit
774323d002
1 changed files with 1 additions and 1 deletions
|
@ -685,6 +685,7 @@ linuxdvb_satconf_tone_off ( linuxdvb_satconf_ele_t *lse, int fd, int delay )
|
|||
linuxdvb_satconf_t *ls = lse->lse_parent;
|
||||
|
||||
if (ls->ls_last_tone_off != 1) {
|
||||
tvhtrace("diseqc", "initial tone off");
|
||||
if (ioctl(fd, FE_SET_TONE, SEC_TONE_OFF)) {
|
||||
tvherror("diseqc", "failed to disable tone");
|
||||
return -1;
|
||||
|
@ -727,7 +728,6 @@ linuxdvb_satconf_ele_tune ( linuxdvb_satconf_ele_t *lse )
|
|||
|
||||
if (!lse->lse_en50494 || lse->lse_switch || lse->lse_rotor) {
|
||||
if (ls->ls_diseqc_full) {
|
||||
tvhtrace("diseqc", "initial tone off");
|
||||
ls->ls_last_tone_off = 0; /* force */
|
||||
if (linuxdvb_satconf_tone_off(lse, lfe->lfe_fe_fd, 0))
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue