Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
linuxdvb: en50494 fix saving settings
  • Loading branch information
InuSasha committed Aug 14, 2014
1 parent 1cf6149 commit c66edd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/input/mpegts/linuxdvb/linuxdvb_satconf.c
Expand Up @@ -364,7 +364,7 @@ linuxdvb_satconf_class_en50494_id_set
linuxdvb_satconf_ele_t *lse;
TAILQ_FOREACH(lse, &ls->ls_elements, lse_link)
(((linuxdvb_en50494_t*)lse->lse_en50494)->le_id) = *(uint16_t*)v;
return 0;
return 1;
}

static const void *
Expand All @@ -383,7 +383,7 @@ linuxdvb_satconf_class_en50494_pin_set
linuxdvb_satconf_ele_t *lse;
TAILQ_FOREACH(lse, &ls->ls_elements, lse_link)
(((linuxdvb_en50494_t*)lse->lse_en50494)->le_pin) = *(uint16_t*)v;
return 0;
return 1;
}

static const void *
Expand All @@ -402,7 +402,7 @@ linuxdvb_satconf_class_en50494_freq_set
linuxdvb_satconf_ele_t *lse;
TAILQ_FOREACH(lse, &ls->ls_elements, lse_link)
(((linuxdvb_en50494_t*)lse->lse_en50494)->le_frequency) = *(uint16_t*)v;
return 0;
return 1;
}

const idclass_t linuxdvb_satconf_en50494_class =
Expand Down

0 comments on commit c66edd2

Please sign in to comment.