From 274c64be3a5f98f7191b6c3e4f941a9c60fbfefc Mon Sep 17 00:00:00 2001 From: John Janus Date: Sun, 17 Sep 2017 11:16:09 +0200 Subject: [PATCH] do not restart playing channels if intro is pressed --- simple_try.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simple_try.c b/simple_try.c index dbae4e5..bac2ecc 100644 --- a/simple_try.c +++ b/simple_try.c @@ -64,7 +64,7 @@ void chnl2Btn(void) { } void introBtn(void) { - if (delaying) return; + if (delaying || pwrOn) return; pthread_mutex_lock(mut); intro = !intro; pthread_mutex_unlock(mut); -- 2.47.1