More conversions to rig_flush

https://github.com/Hamlib/Hamlib/issues/307
pull/345/head
Michael Black W9MDB 2020-06-23 08:39:11 -05:00
rodzic 2c64ba9bba
commit 1be5c71e76
4 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -1937,7 +1937,7 @@ declare_proto_amp(send_cmd)
rs = &amp->state;
serial_flush(&rs->ampport);
rig_flush(&rs->ampport);
retval = write_block(&rs->ampport, bufcmd, cmd_len);

Wyświetl plik

@ -4394,7 +4394,7 @@ declare_proto_rig(send_cmd)
rs = &rig->state;
serial_flush(&rs->rigport);
rig_flush(&rs->rigport);
rig_debug(RIG_DEBUG_TRACE, "%s: rigport=%d, bufcmd=%s, cmd_len=%d\n", __func__,
rs->rigport.fd, hasbinary(bufcmd) ? "BINARY" : bufcmd, cmd_len);

Wyświetl plik

@ -614,7 +614,7 @@ int main(int argc, char *argv[])
char *stop_set = ";\n\r";
memset(ts2000, 0, sizeof(ts2000));
serial_flush(&my_com); // get rid of anything in the queue
rig_flush(&my_com); // get rid of anything in the queue
status = read_string(&my_com,
ts2000,

Wyświetl plik

@ -1959,7 +1959,7 @@ declare_proto_rot(send_cmd)
rs = &rot->state;
serial_flush(&rs->rotport);
rig_flush(&rs->rotport);
retval = write_block(&rs->rotport, bufcmd, cmd_len);