kopia lustrzana https://github.com/Hamlib/Hamlib
Fix FT-891 bandwidth selection -- seems newer rigs now have an "on" value now
https://github.com/Hamlib/Hamlib/issues/469pull/474/head
rodzic
f43e190e07
commit
aa58442e18
|
@ -7433,7 +7433,9 @@ int newcat_set_rx_bandwidth(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
||||||
|
|
||||||
if (is_ftdx101 || is_ft891)
|
if (is_ftdx101 || is_ft891)
|
||||||
{
|
{
|
||||||
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "SH%c0%02d;", main_sub_vfo, w);
|
// some rigs now require the bandwidth be turned "on"
|
||||||
|
int on = is_ft891;
|
||||||
|
snprintf(priv->cmd_str, sizeof(priv->cmd_str), "SH%c%d%02d;", main_sub_vfo, on, w);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "20201217"
|
#define NEWCAT_VER "20201218"
|
||||||
|
|
||||||
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
||||||
#define NEWCAT_DATA_LEN 129
|
#define NEWCAT_DATA_LEN 129
|
||||||
|
|
Ładowanie…
Reference in New Issue