Fix icom width filter using 1,2,3 for all modes

pull/1626/head
Mike Black W9MDB 2024-10-25 12:11:50 -05:00
rodzic f9d60d6b25
commit e3b067307a
2 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -2428,6 +2428,9 @@ static int icom_set_mode_x26(RIG *rig, vfo_t vfo, rmode_t mode,
rig_debug(RIG_DEBUG_TRACE, "%s: vfo=%s, vfo_number=%d\n", __func__,
rig_strvfo(vfo), vfo_number);
// allow width of 1,2,3 to set explicit filter
if (width >=1 && width <= 3) buf[2] = width;
retval = icom_transaction(rig, C_SEND_SEL_MODE, vfo_number, buf, buf_len, ackbuf,
&ack_len);

Wyświetl plik

@ -35,7 +35,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "20241020"
#define BACKEND_VER "20241025"
#define ICOM_IS_ID31 rig_is_model(rig, RIG_MODEL_ID31)
#define ICOM_IS_ID51 rig_is_model(rig, RIG_MODEL_ID51)