From 774cb9d25cebb313866c06020a5aadfc87c13a82 Mon Sep 17 00:00:00 2001 From: Michael Black Date: Wed, 15 Apr 2020 12:28:42 -0500 Subject: [PATCH] More testing on Flex problem allow rigctld to continue executing --- tests/rigctl_parse.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/rigctl_parse.c b/tests/rigctl_parse.c index f57e05ecf..a89f42bbf 100644 --- a/tests/rigctl_parse.c +++ b/tests/rigctl_parse.c @@ -628,9 +628,8 @@ int rigctl_parse(RIG *my_rig, FILE *fin, FILE *fout, char *argv[], int argc, if (scanfc(fin, "%c", &cmd) < 1) { rig_debug(RIG_DEBUG_WARN, "%s: nothing to scan#1?\n", __func__); - cmd = 0x0a; - //return -1; - continue; + cmd = 0x0a; // setting 0x0a as though CR/LF was sent + hl_usleep(200*1e6); } /* Extended response protocol requested with leading '+' on command