kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
5ad803d90c
commit
75079d40a8
|
@ -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));
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -46,6 +46,7 @@ static struct kenwood_priv_caps r5000_priv_caps =
|
|||
{
|
||||
.cmdtrm = EOM_KEN,
|
||||
.if_len = 32,
|
||||
.tone_table_base = 1,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -43,6 +43,7 @@ static struct kenwood_priv_caps ts440_priv_caps =
|
|||
{
|
||||
.cmdtrm = EOM_KEN,
|
||||
.if_len = 37,
|
||||
.tone_table_base = 1,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -39,6 +39,7 @@
|
|||
static struct kenwood_priv_caps ts50_priv_caps =
|
||||
{
|
||||
.cmdtrm = EOM_KEN,
|
||||
.tone_table_base = 1,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
static struct kenwood_priv_caps ts711_priv_caps =
|
||||
{
|
||||
.cmdtrm = EOM_KEN,
|
||||
.tone_table_base = 1,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -53,6 +53,7 @@
|
|||
static struct kenwood_priv_caps ts790_priv_caps =
|
||||
{
|
||||
.cmdtrm = EOM_KEN,
|
||||
.tone_table_base = 1,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -38,6 +38,7 @@
|
|||
static struct kenwood_priv_caps ts811_priv_caps =
|
||||
{
|
||||
.cmdtrm = EOM_KEN,
|
||||
.tone_table_base = 1,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
static struct kenwood_priv_caps ts850_priv_caps =
|
||||
{
|
||||
.cmdtrm = EOM_KEN,
|
||||
.tone_table_base = 1,
|
||||
};
|
||||
|
||||
/* forward definitions */
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
@ -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 */
|
||||
|
|
Ładowanie…
Reference in New Issue