Remove rig_flush from icom/frame.c

Speeds up Windows serial i/o by about 6ms per call for Icom rigs
https://github.com/Hamlib/Hamlib/issues/1123
pull/1347/head
Mike Black W9MDB 2023-07-23 14:55:27 -05:00
rodzic 9c246ed3fb
commit ca3f19fbd6
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -158,7 +158,8 @@ int icom_one_transaction(RIG *rig, unsigned char cmd, int subcmd,
set_transaction_active(rig);
collision_retry:
rig_flush(&rs->rigport);
// does not seem necessary and add 6ms overhead per call in Windows
//rig_flush(&rs->rigport);
if (data_len) { *data_len = 0; }