From d59fcafa2f39224f7546c228f83f8153057b9225 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Thu, 17 Jun 2021 07:19:46 -0400 Subject: [PATCH] forgot ! --- afsk/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index e01b9568..ea774e3c 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -440,7 +440,7 @@ int main(int argc, char * argv[]) { // try connecting to STEM Payload board using UART // /boot/config.txt and /boot/cmdline.txt must be set correctly for this to work - if (!ax5043 && !vB3 && !(mode == CW) && (mode == SSTV)) // don't test for payload if AX5043 is present or CW or SSTV modes + if (!ax5043 && !vB3 && !(mode == CW) && !(mode == SSTV)) // don't test for payload if AX5043 is present or CW or SSTV modes { payload = OFF; @@ -637,7 +637,7 @@ int main(int argc, char * argv[]) { #endif fclose(uptime_file); - printf("\n\n++++ Loop time: %5.3f sec +++++\n", (millis() - loopTime)/1000.0); + printf("++++ Loop time: %5.3f sec +++++\n", (millis() - loopTime)/1000.0); loopTime = millis(); if (sim_mode) { // simulated telemetry