Skip to content

Commit

Permalink
More Malachite updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mdblack98 committed Apr 6, 2021
1 parent 8d95db8 commit 124a6fa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rigs/kenwood/kenwood.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ static const struct kenwood_id_string kenwood_id_string_list[] =
{ RIG_MODEL_THF6A, "TH-F6" },
{ RIG_MODEL_THF7E, "TH-F7" },
{ RIG_MODEL_THG71, "TH-G71" },
{ RIG_MODEL_MALACHITE, "020" },
{ RIG_MODEL_NONE, NULL }, /* end marker */
};

Expand Down Expand Up @@ -867,7 +868,7 @@ int kenwood_open(RIG *rig)
id);

// Malachite SDR gives no reponse to ID and is supposed to be TS480 compatible
if (RIG_IS_TS480) { strcpy(id, "ID020"); }
if (RIG_IS_MALACHITE) { strcpy(id, "ID020"); }

}

Expand Down
1 change: 1 addition & 0 deletions rigs/kenwood/kenwood.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ extern const struct confparams kenwood_cfg_params[];
#define RIG_IS_XG3 (rig->caps->rig_model == RIG_MODEL_XG3)
#define RIG_IS_PT8000A (rig->caps->rig_model == RIG_MODEL_PT8000A)
#define RIG_IS_POWERSDR (rig->caps->rig_model == RIG_MODEL_POWERSDR)
#define RIG_IS_MALACHITE (rig->caps->rig_model == RIG_MODEL_MALACHITE)

struct kenwood_priv_caps
{
Expand Down

0 comments on commit 124a6fa

Please sign in to comment.