kenwood.c add default TS480 ID for Malchite SDR

https://github.com/Hamlib/Hamlib/issues/645
pull/649/head
Mike Black W9MDB 2021-04-04 23:42:39 -05:00
rodzic 1bd2cf37d7
commit 6cb6043a43
1 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -862,7 +862,12 @@ int kenwood_open(RIG *rig)
/* id is something like 'IDXXX' or 'ID XXX' */
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 */