From 6957c15ec39236bb3883539cdba9f654b80f169a Mon Sep 17 00:00:00 2001 From: Mike Black W9MDB Date: Thu, 5 Oct 2023 16:32:23 -0500 Subject: [PATCH] Remove the last 2 bytes of an FLRig packet --- src/iofunc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/iofunc.c b/src/iofunc.c index 68f06c66c..c9c61e73e 100644 --- a/src/iofunc.c +++ b/src/iofunc.c @@ -1464,6 +1464,9 @@ static int read_string_generic(hamlib_port_t *p, //HAMLIB_TRACE2; if (strstr((char*)rxbuffer, stopset)) { + // get the last two bytes of FLRig's response + unsigned char buf[2]; + read_block(p, buf, 2); //HAMLIB_TRACE2; break; }