In icom.c init() set priv->filter to RIG_PASSBAND_NOCHANGE to fix set_mode rigs with 2-byte cmds

https://github.com/Hamlib/Hamlib/issues/490
pull/494/head
Michael Black W9MDB 2021-01-06 17:04:44 -06:00
rodzic e9d6d751f2
commit 02c0854434
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -655,6 +655,7 @@ icom_init(RIG *rig)
priv->tx_vfo = RIG_VFO_NONE;
priv->rx_vfo = RIG_VFO_NONE;
rig->state.current_vfo = RIG_VFO_NONE;
priv->filter = RIG_PASSBAND_NOCHANGE;
rig_debug(RIG_DEBUG_TRACE, "%s: done\n", __func__);

Wyświetl plik

@ -30,7 +30,7 @@
#include <sys/time.h>
#endif
#define BACKEND_VER "20201219"
#define BACKEND_VER "20210106"
/*
* defines used by comp_cal_str in rig.c