Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linuxdvb: fix parameter order and len for linuxdvb_diseqc_raw_send()
  • Loading branch information
perexg committed Sep 22, 2016
1 parent 3f79dff commit d75255c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/input/mpegts/linuxdvb/linuxdvb_en50494.c
Expand Up @@ -357,14 +357,12 @@ linuxdvb_en50494_tune
2,
data1, data2);
} else if (ver2 && le->le_pin != LINUXDVB_EN50494_NOPIN) {
ret = linuxdvb_diseqc_raw_send(fd,
ret = linuxdvb_diseqc_raw_send(fd, 5,
LINUXDVB_EN50607_FRAME_MULTIHOME,
4,
data1, data2, data3, (uint8_t)le->le_pin);
} else if (ver2) {
ret = linuxdvb_diseqc_raw_send(fd,
ret = linuxdvb_diseqc_raw_send(fd, 4,
LINUXDVB_EN50607_FRAME_NORMAL,
3,
data1, data2, data3);
}
if (ret != 0) {
Expand Down

0 comments on commit d75255c

Please sign in to comment.