kopia lustrzana https://github.com/Hamlib/Hamlib
Fix defect in Kenwood TS-940 IF command response parsing
A recent change to implement command error detection and retries for this rig introduced a defect in the expected length of the IF command response.Hamlib-3.0
rodzic
9f9d74c504
commit
a1e39e11f0
|
@ -52,9 +52,22 @@
|
||||||
.tx_mode=1, \
|
.tx_mode=1, \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static rmode_t ts940_mode_table[KENWOOD_MODE_TABLE_MAX] = {
|
||||||
|
[0] = RIG_MODE_NONE,
|
||||||
|
[1] = RIG_MODE_LSB,
|
||||||
|
[2] = RIG_MODE_USB,
|
||||||
|
[3] = RIG_MODE_CW,
|
||||||
|
[4] = RIG_MODE_FM,
|
||||||
|
[5] = RIG_MODE_AM,
|
||||||
|
[6] = RIG_MODE_NONE,
|
||||||
|
[7] = RIG_MODE_NONE,
|
||||||
|
[8] = RIG_MODE_NONE,
|
||||||
|
[9] = RIG_MODE_NONE
|
||||||
|
};
|
||||||
|
|
||||||
static struct kenwood_priv_caps ts940_priv_caps = {
|
static struct kenwood_priv_caps ts940_priv_caps = {
|
||||||
.cmdtrm = EOM_KEN,
|
.cmdtrm = EOM_KEN,
|
||||||
.if_len = 28,
|
.mode_table = ts940_mode_table
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Ładowanie…
Reference in New Issue