Cosmetics
This commit is contained in:
parent
2faac703f0
commit
661355777a
1 changed files with 1 additions and 6 deletions
7
epg.c
7
epg.c
|
@ -53,20 +53,15 @@ e_ch_cmp(const event_t *a, const event_t *b)
|
|||
static void
|
||||
epg_set_current(channel_t *ch, event_t *e)
|
||||
{
|
||||
printf("Channel %s, event = %s\n", ch->ch_name, e ? e->e_title : "none");
|
||||
|
||||
if(ch->ch_epg_current == e)
|
||||
return;
|
||||
|
||||
|
||||
ch->ch_epg_current = e;
|
||||
if(e != NULL) {
|
||||
gtimer_arm_abs(&ch->ch_epg_timer_current, epg_ch_check_current_event,
|
||||
ch, MAX(e->e_stop, dispatch_clock + 1));
|
||||
dvr_autorec_check(e);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
htsp_event_update(ch, e);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue