kopia lustrzana https://github.com/Hamlib/Hamlib
TS950 now uses kenwood_get_mode_if()
Like other Kenwood rigs of its vintage, the TS-950 series provides the mode information in the IF command response. Filter bandwidth is set/read using the FL command.Hamlib-3.0
rodzic
de329c1ed7
commit
1d6a7249fb
|
@ -983,7 +983,8 @@ int kenwood_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
|||
|
||||
if (rig->caps->rig_model == RIG_MODEL_TS450S
|
||||
|| rig->caps->rig_model == RIG_MODEL_TS690S
|
||||
|| rig->caps->rig_model == RIG_MODEL_TS850) {
|
||||
|| rig->caps->rig_model == RIG_MODEL_TS850
|
||||
|| rig->caps->rig_model == RIG_MODEL_TS950SDX) {
|
||||
|
||||
err = kenwood_set_filter(rig, width);
|
||||
/* non fatal */
|
||||
|
@ -1087,7 +1088,8 @@ int kenwood_get_mode_if(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
|
|||
|
||||
if (rig->caps->rig_model == RIG_MODEL_TS450S
|
||||
|| rig->caps->rig_model == RIG_MODEL_TS690S
|
||||
|| rig->caps->rig_model == RIG_MODEL_TS850) {
|
||||
|| rig->caps->rig_model == RIG_MODEL_TS850
|
||||
|| rig->caps->rig_model == RIG_MODEL_TS950SDX) {
|
||||
|
||||
err = kenwood_get_filter(rig, width);
|
||||
/* non fatal */
|
||||
|
|
|
@ -52,7 +52,7 @@ static struct kenwood_priv_caps ts950_priv_caps = {
|
|||
* There are minor differences between the SDX and other models, but they are
|
||||
* in commands not implemented here.
|
||||
*
|
||||
* Reference: TS-950series External Control Instruction Manual (1992)
|
||||
* Reference: TS-950 series External Control Instruction Manual (1992)
|
||||
*/
|
||||
|
||||
const struct rig_caps ts950sdx_caps = {
|
||||
|
@ -168,9 +168,7 @@ const struct rig_caps ts950sdx_caps = {
|
|||
.set_xit = kenwood_set_xit,
|
||||
.get_xit = kenwood_get_xit,
|
||||
.set_mode = kenwood_set_mode,
|
||||
/* 950 can't read mode
|
||||
* .get_mode = kenwood_get_mode,
|
||||
*/
|
||||
.get_mode = kenwood_get_mode_if,
|
||||
.set_vfo = kenwood_set_vfo,
|
||||
.get_vfo = kenwood_get_vfo_if,
|
||||
.set_ctcss_tone = kenwood_set_ctcss_tone,
|
||||
|
|
Ładowanie…
Reference in New Issue