Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linuxdvb satconf: tone off - move log
  • Loading branch information
perexg committed Dec 15, 2014
1 parent 5d7039c commit 774323d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/mpegts/linuxdvb/linuxdvb_satconf.c
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 774323d

Please sign in to comment.