kopia lustrzana https://github.com/Hamlib/Hamlib
astyle newcat.c
rodzic
294bdc7d2a
commit
d977f3fbdb
|
@ -604,12 +604,18 @@ int newcat_open(RIG *rig)
|
|||
char *cmd = "EX0291;EX029;"; // FT2000/D
|
||||
|
||||
if (priv->rig_id == NC_RIGID_FT950 || rig->caps->rig_model == RIG_MODEL_FT950) { cmd = "EX0271;EX027;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FT891 || rig->caps->rig_model == RIG_MODEL_FT891) { cmd = "EX05071;EX0507;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FT991 || rig->caps->rig_model == RIG_MODEL_FT991) { cmd = "EX0321;EX032;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FT991A || rig->caps->rig_model == RIG_MODEL_FT991) { cmd = "EX0321;EX032;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FTDX3000 || rig->caps->rig_model == RIG_MODEL_FTDX3000) { cmd = "EX0391;EX039;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FTDX3000DM || rig->caps->rig_model == RIG_MODEL_FTDX3000) { cmd = "EX0391;EX039;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FTDX5000 || rig->caps->rig_model == RIG_MODEL_FTDX5000) { cmd = "EX0331;EX033"; }
|
||||
else if (priv->rig_id == NC_RIGID_FT891
|
||||
|| rig->caps->rig_model == RIG_MODEL_FT891) { cmd = "EX05071;EX0507;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FT991
|
||||
|| rig->caps->rig_model == RIG_MODEL_FT991) { cmd = "EX0321;EX032;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FT991A
|
||||
|| rig->caps->rig_model == RIG_MODEL_FT991) { cmd = "EX0321;EX032;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FTDX3000
|
||||
|| rig->caps->rig_model == RIG_MODEL_FTDX3000) { cmd = "EX0391;EX039;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FTDX3000DM
|
||||
|| rig->caps->rig_model == RIG_MODEL_FTDX3000) { cmd = "EX0391;EX039;"; }
|
||||
else if (priv->rig_id == NC_RIGID_FTDX5000
|
||||
|| rig->caps->rig_model == RIG_MODEL_FTDX5000) { cmd = "EX0331;EX033"; }
|
||||
|
||||
SNPRINTF(priv->cmd_str, sizeof(priv->cmd_str), "%s", cmd);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue