From a44c3d08cf6821460c593821673e12317ccdd18a Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Wed, 4 Aug 2021 09:48:07 -0500 Subject: [PATCH] Update simelecraft --- tests/simelecraft.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/simelecraft.c b/tests/simelecraft.c index 361412151..2a661ec37 100644 --- a/tests/simelecraft.c +++ b/tests/simelecraft.c @@ -238,10 +238,6 @@ int main(int argc, char *argv[]) write(fd, buf, strlen(buf)); } - else if (strlen(buf) > 0) - { - fprintf(stderr, "Unknown command: %s\n", buf); - } else if (strncmp(buf,"FA",2)==0) { sscanf(buf,"FA%d",&freqa); @@ -250,6 +246,10 @@ int main(int argc, char *argv[]) { sscanf(buf,"FB%d",&freqb); } + else if (strlen(buf) > 0) + { + fprintf(stderr, "Unknown command: %s\n", buf); + } }