Fix Icom to set filter#0 when datamode=0

https://github.com/Hamlib/Hamlib/issues/1598
This commit is contained in:
Mike Black W9MDB 2024-08-23 08:40:16 -05:00
parent 137231cb7b
commit 846a56a39b
2 changed files with 2 additions and 1 deletions

View File

@ -2575,6 +2575,7 @@ int icom_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
}
else
{
if (datamode[0] == 0) datamode[1] = 0;
retval = icom_set_mode_x26(rig, vfo, mode, mode_icom, datamode[0], datamode[1]);
}

View File

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