From 60a25ae5479b736955b08692cce4a71ce3e064c6 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 5 Sep 2020 12:17:26 -0400 Subject: [PATCH] Update main.c --- afsk/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/afsk/main.c b/afsk/main.c index 0576f63f..2977283e 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -864,7 +864,8 @@ if (firstTime != ON) { current[count1] = atof(token); if ((current[count1] < 0) && (current[count1] > -0.5)) - current[count1] *= (-1.0); #ifdef DEBUG_LOGGING + current[count1] *= (-1.0); + #ifdef DEBUG_LOGGING printf("current: %f\n", current[count1]); #endif token = strtok(NULL, space);