Merge pull request #316 from bluzee/master

linuxdvb: fix typo in diseqc toneburst switch setting.  Fixes #1856
This commit is contained in:
Adam Sutton 2014-01-02 11:10:09 -08:00
commit af15bb2f1c

View file

@ -158,7 +158,7 @@ linuxdvb_switch_tune
/* Tone burst */
tvhtrace("diseqc", "toneburst %s", ls->ls_toneburst ? "B" : "A");
if (ioctl(fd, FE_DISEQC_SEND_BURST,
ls->ls_toneburst ? SEC_MINI_B : SEC_MINI_B)) {
ls->ls_toneburst ? SEC_MINI_B : SEC_MINI_A)) {
tvherror("diseqc", "failed to set toneburst (e=%s)", strerror(errno));
return -1;
}