Add remaining rigs, matching old behavior.

Fix copy/paste foulup.
pull/1485/head
George Baltz N3GB 2024-01-22 19:05:30 -05:00
rodzic 5ad803d90c
commit 75079d40a8
12 zmienionych plików z 14 dodań i 3 usunięć

Wyświetl plik

@ -4623,11 +4623,11 @@ int kenwood_set_ctcss_sql(RIG *rig, vfo_t vfo, tone_t tone)
RETURNFUNC(-RIG_EINVAL);
}
SNPRINTF(buf, sizeof(buf), "CN%c%02d", c, i - kenwood_caps(rig)->tone_table_base);
SNPRINTF(buf, sizeof(buf), "CN%c%02d", c, i + kenwood_caps(rig)->tone_table_base);
}
else
{
SNPRINTF(buf, sizeof(buf), "CN%02d", i - kenwood_caps(rig)->tone_table_base);
SNPRINTF(buf, sizeof(buf), "CN%02d", i + kenwood_caps(rig)->tone_table_base);
}
RETURNFUNC(kenwood_transaction(rig, buf, NULL, 0));

Wyświetl plik

@ -68,6 +68,7 @@ static int pihspdr_set_channel(RIG *rig, vfo_t vfo, const channel_t *chan);
static struct kenwood_priv_caps ts2000_priv_caps =
{
.cmdtrm = EOM_KEN,
.tone_table_base = 1,
};
/* memory capabilities */

Wyświetl plik

@ -46,6 +46,7 @@ static struct kenwood_priv_caps r5000_priv_caps =
{
.cmdtrm = EOM_KEN,
.if_len = 32,
.tone_table_base = 1,
};
/*

Wyświetl plik

@ -43,6 +43,7 @@ static struct kenwood_priv_caps ts440_priv_caps =
{
.cmdtrm = EOM_KEN,
.if_len = 37,
.tone_table_base = 1,
};
/*

Wyświetl plik

@ -39,6 +39,7 @@
static struct kenwood_priv_caps ts50_priv_caps =
{
.cmdtrm = EOM_KEN,
.tone_table_base = 1,
};
/*

Wyświetl plik

@ -1683,6 +1683,7 @@ static struct kenwood_priv_caps ts590_priv_caps =
.filter_width = ts590_filter_width,
.slope_filter_high = ts590_slope_filter_high,
.slope_filter_low = ts590_slope_filter_low,
.tone_table_base = 0,
};
/**

Wyświetl plik

@ -52,6 +52,7 @@
static struct kenwood_priv_caps ts711_priv_caps =
{
.cmdtrm = EOM_KEN,
.tone_table_base = 1,
};
/*

Wyświetl plik

@ -53,6 +53,7 @@
static struct kenwood_priv_caps ts790_priv_caps =
{
.cmdtrm = EOM_KEN,
.tone_table_base = 1,
};
/*

Wyświetl plik

@ -38,6 +38,7 @@
static struct kenwood_priv_caps ts811_priv_caps =
{
.cmdtrm = EOM_KEN,
.tone_table_base = 1,
};
/*

Wyświetl plik

@ -62,6 +62,7 @@
static struct kenwood_priv_caps ts850_priv_caps =
{
.cmdtrm = EOM_KEN,
.tone_table_base = 1,
};
/* forward definitions */

Wyświetl plik

@ -63,7 +63,8 @@ static rmode_t ts940_mode_table[KENWOOD_MODE_TABLE_MAX] =
static struct kenwood_priv_caps ts940_priv_caps =
{
.cmdtrm = EOM_KEN,
.mode_table = ts940_mode_table
.mode_table = ts940_mode_table,
.tone_table_base = 1,
};
/*

Wyświetl plik

@ -94,6 +94,7 @@ tone_t tx500_dcs_list[] =
static struct kenwood_priv_caps tx500_priv_caps =
{
.cmdtrm = EOM_KEN,
.tone_table_base = 1, /* TS-2000 compatible ??? */
};
/* memory capabilities */