From: John Janus Date: Sun, 17 Sep 2017 09:16:09 +0000 (+0200) Subject: do not restart playing channels if intro is pressed X-Git-Url: https://git.johnzone.org/?a=commitdiff_plain;h=274c64be3a5f98f7191b6c3e4f941a9c60fbfefc;p=FakeRadio.git do not restart playing channels if intro is pressed --- 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);