kopia lustrzana https://github.com/Hamlib/Hamlib
Add 50ms pause in icom.c after set_freq and set_mode for possible transceive message which will then get flushed
rodzic
f2586d0acb
commit
4d116d2f6c
|
@ -1024,6 +1024,7 @@ int icom_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
|||
subcmd = -1;
|
||||
retval = icom_transaction(rig, cmd, subcmd, freqbuf, freq_len, ackbuf,
|
||||
&ack_len);
|
||||
hl_usleep(50*1000); // pause for transceive message and we'll flush it
|
||||
|
||||
if (retval != RIG_OK)
|
||||
{
|
||||
|
@ -1662,6 +1663,8 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
|
|||
rig_debug(RIG_DEBUG_VERBOSE, "%s mode=%d, width=%d\n", __func__, (int)icom_mode,
|
||||
(int)width);
|
||||
retval = icom_set_mode(rig, vfo, icom_mode, width);
|
||||
|
||||
hl_usleep(50*1000); // pause for possible transceive message which we'll flush
|
||||
|
||||
if (RIG_OK == retval)
|
||||
{
|
||||
|
|
Ładowanie…
Reference in New Issue