Remove the last 2 bytes of an FLRig packet

pull/1404/head
Mike Black W9MDB 2023-10-05 16:32:23 -05:00
rodzic d48c847cf5
commit 6957c15ec3
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -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;
}