mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 10:27:18 +00:00
Discard Icom packets with E1 controller code
These are async packets which were getting flushed but have to be handled individually. Have to hande these as generic flush before sending command breaks async packets when echo is on. https://github.com/Hamlib/Hamlib/issues/1575
This commit is contained in:
parent
150ac1608f
commit
328731921e
@ -2608,7 +2608,7 @@ static int icom_get_mode_without_data(RIG *rig, vfo_t vfo, rmode_t *mode,
|
||||
|
||||
// Use command 0x26 to get selected/unselected or Main/Sub VFO mode, data mode and filter width
|
||||
// IC-7800 can set, but not read with 0x26 (although manual states otherwise?)
|
||||
if ((rs->targetable_vfo & RIG_TARGETABLE_MODE) && !RIG_IS_IC7800 && !RIG_IS_IC7700
|
||||
if ((rs->targetable_vfo & RIG_TARGETABLE_MODE) && !RIG_IS_IC7800
|
||||
&& !force_vfo_swap)
|
||||
{
|
||||
retval = icom_get_mode_x26(rig, vfo, &mode_len, modebuf);
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include <sys/time.h>
|
||||
#endif
|
||||
|
||||
#define BACKEND_VER "20240511"
|
||||
#define BACKEND_VER "20240704"
|
||||
|
||||
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
|
||||
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)
|
||||
|
Loading…
Reference in New Issue
Block a user