From 7b1f1c6e22ceadabbb1bc78e0e77f79380debfec Mon Sep 17 00:00:00 2001 From: Tudor Brindus Date: Fri, 20 Dec 2019 14:32:47 -0500 Subject: [PATCH] Missed two DEBUG to NDEBUG conversions --- cava.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cava.c b/cava.c index 4dd23c6..00eea8e 100644 --- a/cava.c +++ b/cava.c @@ -923,7 +923,7 @@ as of 0.4.0 all options are specified in config file, see in '/home/username/.co } else { //**if in sleep mode wait and continue**// - #ifdef DEBUG + #ifndef NDEBUG printw("no sound detected for 3 sec, going to sleep mode\n"); #endif //wait 1 sec, then check sound again. @@ -988,7 +988,7 @@ as of 0.4.0 all options are specified in config file, see in '/home/username/.co //f[o] = f[o] - pow(div, 10) * (height + 1); fmem[o] = fmem[o] * (1 - div / 20); - #ifdef DEBUG + #ifndef NDEBUG mvprintw(o,0,"%d: f:%f->%f (%d->%d), k-value:\ %15e, peak:%d \n", o, fc[o], fc[o + 1], lcf[o], hcf[o], k[o], f[o]);