Commit 361092ff authored by Zaheer Abbas Merali's avatar Zaheer Abbas Merali
Browse files

sys/dvb/gstdvbsrc.c: Repeat diseqc call to allow for some diseqc switches.

Original commit message from CVS:
* sys/dvb/gstdvbsrc.c:
Repeat diseqc call to allow for some diseqc switches.
parent 7c92b4e4
2008-03-28 Zaheer Abbas Merali <zaheerabbas at merali dot org>
* sys/dvb/gstdvbsrc.c:
Repeat diseqc call to allow for some diseqc switches.
2008-03-27 Zaheer Abbas Merali <zaheerabbas at merali dot org>
 
* ext/Makefile.am:
......
......@@ -1166,7 +1166,10 @@ diseqc (int secfd, int sat_no, int voltage, int tone)
cmd.cmd.msg[3] =
0xf0 | (((sat_no * 4) & 0x0f) | (tone == SEC_TONE_ON ? 1 : 0) |
(voltage == SEC_VOLTAGE_13 ? 0 : 2));
/* send twice because some diseqc switches do not respond correctly the
* first time */
diseqc_send_msg (secfd, voltage, &cmd, tone,
sat_no % 2 ? SEC_MINI_B : SEC_MINI_A);
diseqc_send_msg (secfd, voltage, &cmd, tone,
sat_no % 2 ? SEC_MINI_B : SEC_MINI_A);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment