Skip to content

Commit

Permalink
kenwood.c add default TS480 ID for Malchite SDR
Browse files Browse the repository at this point in the history
  • Loading branch information
mdblack98 committed Apr 5, 2021
1 parent 1bd2cf3 commit 6cb6043
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rigs/kenwood/kenwood.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 6cb6043

Please sign in to comment.