kopia lustrzana https://github.com/Hamlib/Hamlib
ERemove EX103 get/set for FTDX5000
rodzic
79129087e0
commit
d68c218a3d
|
@ -641,6 +641,7 @@ int newcat_open(RIG *rig)
|
||||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: disabling FTDX3000 band select\n", __func__);
|
rig_debug(RIG_DEBUG_VERBOSE, "%s: disabling FTDX3000 band select\n", __func__);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 // this apparently does not work
|
||||||
if (is_ftdx5000)
|
if (is_ftdx5000)
|
||||||
{
|
{
|
||||||
// Remember EX103 status
|
// Remember EX103 status
|
||||||
|
@ -663,6 +664,7 @@ int newcat_open(RIG *rig)
|
||||||
|
|
||||||
if (priv->ret_data[6] == ';') { priv->front_rear_status = priv->ret_data[5]; }
|
if (priv->ret_data[6] == ';') { priv->front_rear_status = priv->ret_data[5]; }
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
RETURNFUNC(RIG_OK);
|
RETURNFUNC(RIG_OK);
|
||||||
}
|
}
|
||||||
|
@ -695,6 +697,7 @@ int newcat_close(RIG *rig)
|
||||||
priv->poweron = 0;
|
priv->poweron = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0 // this apparently does not work -- we can't query EX103
|
||||||
if (is_ftdx5000)
|
if (is_ftdx5000)
|
||||||
{
|
{
|
||||||
// Restore EX103 status
|
// Restore EX103 status
|
||||||
|
@ -703,6 +706,7 @@ int newcat_close(RIG *rig)
|
||||||
rig_debug(RIG_DEBUG_TRACE, "%s: cmd_str = %s\n", __func__, priv->cmd_str);
|
rig_debug(RIG_DEBUG_TRACE, "%s: cmd_str = %s\n", __func__, priv->cmd_str);
|
||||||
newcat_set_cmd(rig); // don't care about the return
|
newcat_set_cmd(rig); // don't care about the return
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
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 "20230115"
|
#define NEWCAT_VER "20230123"
|
||||||
|
|
||||||
/* 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