From 518d57bee25cf89ea04ec80e7974f64778b03ed0 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Fri, 13 Apr 2018 20:35:12 +0200 Subject: [PATCH] epg: fix the running check in _epg_channel_timer_callback(), fixes #5067 --- src/epg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/epg.c b/src/epg.c index 0f9ad14eb..5cad23461 100644 --- a/src/epg.c +++ b/src/epg.c @@ -498,7 +498,7 @@ static void _epg_channel_timer_callback ( void *p ) /* Clear now/next */ if ((cur = ch->ch_epg_now)) { - if (cur->running != EPG_RUNNING_STOP) { + if (cur->running != EPG_RUNNING_STOP && cur->running != EPG_RUNNING_NOTSET) { /* running? don't do anything */ gtimer_arm_rel(&ch->ch_epg_timer, _epg_channel_timer_callback, ch, 2); return; -- 2.47.2