diff --git a/rigs/icom/icom.c b/rigs/icom/icom.c index 481c24d2c..d12721e46 100644 --- a/rigs/icom/icom.c +++ b/rigs/icom/icom.c @@ -730,8 +730,13 @@ int icom_get_usb_echo_off(RIG *rig) if (ack_len == 1) // then we got an echo of the cmd { + struct rig_state *rs = &rig->state; + unsigned char buf[16]; priv->serial_USB_echo_off = 0; rig_debug(RIG_DEBUG_VERBOSE, "%s: USB echo on detected\n", __func__); + // we should have a freq response so we'll read it and don't really care + // flushing doesn't always work as it depends on timing + read_icom_frame(&rs->rigport,buf,sizeof(buf)); } else { diff --git a/rigs/icom/icom.h b/rigs/icom/icom.h index c3959eaeb..9127cc628 100644 --- a/rigs/icom/icom.h +++ b/rigs/icom/icom.h @@ -30,7 +30,7 @@ #include #endif -#define BACKEND_VER "20210316" +#define BACKEND_VER "20210318" /* * defines used by comp_cal_str in rig.c