From: John Janus Date: Fri, 6 Oct 2017 21:45:42 +0000 (+0200) Subject: use constants for delay and increase unprell X-Git-Url: https://git.johnzone.org/?a=commitdiff_plain;h=efd821329888e5c85ddac6157f46a7ead61e3b4f;p=FakeRadio.git use constants for delay and increase unprell --- 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); }