kopia lustrzana https://github.com/Hamlib/Hamlib
Make FTDX5000 return to MIC input on closing
https://github.com/Hamlib/Hamlib/issues/1193pull/1215/head
rodzic
17f88dccbf
commit
33b2456129
|
@ -662,6 +662,14 @@ int newcat_close(RIG *rig)
|
|||
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);
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
typedef char ncboolean;
|
||||
|
||||
/* shared function version */
|
||||
#define NEWCAT_VER "20221211"
|
||||
#define NEWCAT_VER "20221223"
|
||||
|
||||
/* Hopefully large enough for future use, 128 chars plus '\0' */
|
||||
#define NEWCAT_DATA_LEN 129
|
||||
|
|
Ładowanie…
Reference in New Issue