linuxdvb_satconf: fix typo

This commit is contained in:
Jaroslav Kysela 2014-10-15 08:55:26 +02:00
parent ee4043c6cb
commit 1159ba09bc
2 changed files with 2 additions and 1 deletions

View file

@ -164,6 +164,7 @@ linuxdvb_adapter_create
static dvb_fe_type_t
linux_dvb_get_type(int linux_type)
{
return DVB_TYPE_S;
switch (linux_type) {
case FE_QPSK:
return DVB_TYPE_S;

View file

@ -677,7 +677,7 @@ linuxdvb_satconf_ele_tune ( linuxdvb_satconf_ele_t *lse )
/* Set the tone (en50494 don't use tone) */
if (!lse->lse_en50494) {
b = lse->lse_lnb->lnb_band(lse->lse_lnb, lm);
tvhtrace("disqec", "set diseqc tone %s", b ? "on" : "off");
tvhtrace("diseqc", "set diseqc tone %s", b ? "on" : "off");
if (ioctl(lfe->lfe_fe_fd, FE_SET_TONE, b ? SEC_TONE_ON : SEC_TONE_OFF)) {
tvherror("diseqc", "failed to set diseqc tone (e=%s)", strerror(errno));
return -1;