From efd821329888e5c85ddac6157f46a7ead61e3b4f Mon Sep 17 00:00:00 2001 From: John Janus Date: Fri, 6 Oct 2017 23:45:42 +0200 Subject: [PATCH] use constants for delay and increase unprell --- simple_try.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/simple_try.c b/simple_try.c index 026ee4a..aaf0e98 100644 --- a/simple_try.c +++ b/simple_try.c @@ -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); } -- 2.48.1