From e5dbe6754685bb641798edd247c784f69c3dd9d0 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sun, 13 Oct 2019 09:20:34 -0400 Subject: [PATCH] fixed true/false --- afsk/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index 1c236659..ad761b5e 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -113,7 +113,7 @@ long int uptime; char call[5]; int bitRate, mode, bufLen, rsFrames, payloads, rsFrameLen, dataLen, headerLen, syncBits, syncWord, parityLen, samples, frameCnt; -int cycle = FALSE; +int cycle = false; struct SensorConfig { int fd; @@ -238,7 +238,7 @@ int main(int argc, char *argv[]) { mode = AFSK; else if (*argv[1] == 'c') { - cycle = TRUE; + cycle = true; mode = AFSK; } @@ -302,7 +302,7 @@ int main(int argc, char *argv[]) { while (loop-- != 0) { - if (cycle == TRUE) + if (cycle) mode = (++mode) % 3; if (mode == FSK) {