]> Johnzone git - FakeRadio.git/commitdiff
use constants for delay and increase unprell
authorJohn Janus <mail@johnzone.org>
Fri, 6 Oct 2017 21:45:42 +0000 (23:45 +0200)
committerJohn Janus <mail@johnzone.org>
Fri, 6 Oct 2017 21:45:42 +0000 (23:45 +0200)
simple_try.c

index 026ee4afabe81aa6823a035f9e701499c9fc3a02..aaf0e98e1a04668dc778be89a349e3583a14ba94 100644 (file)
@@ -19,7 +19,8 @@
 #define INTROBTN 13
 #define HORNBTN 11
 
-#define UNPRELL 200
+#define UNPRELL 300
+#define LOOPDELAY 500
 
 volatile bool running = true;
 static volatile bool pwrOn = false;
@@ -189,7 +190,7 @@ int main(void) {
                 playThread = startPlayThread("dansk.mp3",false);
             }
         }
-        delay(500);
+        delay(LOOPDELAY);
         delaying = false;
         pthread_mutex_unlock(mut);
     }