kopia lustrzana https://github.com/Hamlib/Hamlib
Make FTDX5000 return to MIC input on closing
https://github.com/Hamlib/Hamlib/issues/1193Hamlib-4.5.2
rodzic
289788bae9
commit
ee96efd5bc
|
@ -662,6 +662,14 @@ int newcat_close(RIG *rig)
|
||||||
priv->poweron = 0;
|
priv->poweron = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (is_ftdx5000)
|
||||||
|
{
|
||||||
|
// Ensure FT5000 is back to MIC input
|
||||||
|
SNPRINTF(priv->cmd_str, sizeof(priv->cmd_str), "EX1030;");
|
||||||
|
rig_debug(RIG_DEBUG_TRACE, "%s: cmd_str = %s\n", __func__, priv->cmd_str);
|
||||||
|
newcat_set_cmd(rig); // don't care about the return
|
||||||
|
}
|
||||||
|
|
||||||
RETURNFUNC(RIG_OK);
|
RETURNFUNC(RIG_OK);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
typedef char ncboolean;
|
typedef char ncboolean;
|
||||||
|
|
||||||
/* shared function version */
|
/* shared function version */
|
||||||
#define NEWCAT_VER "20221211"
|
#define NEWCAT_VER "20221223"
|
||||||
|
|
||||||
/* 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