]> Johnzone git - FakeRadio.git/commitdiff
do not restart playing channels if intro is pressed
authorJohn Janus <mail@johnzone.org>
Sun, 17 Sep 2017 09:16:09 +0000 (11:16 +0200)
committerJohn Janus <mail@johnzone.org>
Sun, 17 Sep 2017 09:16:09 +0000 (11:16 +0200)
simple_try.c

index dbae4e50a0f6210f55813c13ee114ce55b4951f1..bac2ecc2399e0595c9a5c59f6d167d75fee665d1 100644 (file)
@@ -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);