kopia lustrzana https://github.com/Hamlib/Hamlib
kenwood.c add default TS480 ID for Malchite SDR
https://github.com/Hamlib/Hamlib/issues/645pull/649/head
rodzic
1bd2cf37d7
commit
6cb6043a43
|
@ -862,7 +862,12 @@ int kenwood_open(RIG *rig)
|
||||||
/* id is something like 'IDXXX' or 'ID XXX' */
|
/* id is something like 'IDXXX' or 'ID XXX' */
|
||||||
if (strlen(id) < 5)
|
if (strlen(id) < 5)
|
||||||
{
|
{
|
||||||
rig_debug(RIG_DEBUG_ERR, "%s: unknown id type (%s)...continuing\n", __func__, id);
|
rig_debug(RIG_DEBUG_ERR, "%s: unknown id type (%s)...continuing\n", __func__,
|
||||||
|
id);
|
||||||
|
|
||||||
|
// Malachite SDR gives no reponse to ID and is supposed to be TS480 compatible
|
||||||
|
if (RIG_IS_TS480) { strcpy(id, "ID020"); }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!strcmp("IDID900", id) /* DDUtil in TS-2000 mode */
|
if (!strcmp("IDID900", id) /* DDUtil in TS-2000 mode */
|
||||||
|
|
Ładowanie…
Reference in New Issue