Fix IC-7800 and other 2-byte 0x04 responding Icom rigs to use correct filter number (the existing filter)

https://github.com/Hamlib/Hamlib/issues/1581
pull/1584/head
Mike Black W9MDB 2024-07-08 16:53:29 -05:00
rodzic 5814f745b9
commit 40b20aa912
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -2644,9 +2644,9 @@ static int icom_get_mode_without_data(RIG *rig, vfo_t vfo, rmode_t *mode,
}
else
{
priv_data->filter = 0;
priv_data->filter = 1;
if (mode_len == 1) { priv_data->filter = modebuf[2]; }
if (mode_len == 2) { priv_data->filter = modebuf[1]; }
rig_debug(RIG_DEBUG_TRACE,
"%s(%d): modebuf[0]=0x%02x, modebuf[1]=0x%02x, mode_len=%d\n", __func__,

Wyświetl plik

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