mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-22 02:47:21 +00:00
Fix icom_get_freq_range index
This commit is contained in:
parent
e6e9d8d8aa
commit
40919d703f
@ -6573,7 +6573,8 @@ int icom_get_freq_range(RIG *rig)
|
|||||||
{
|
{
|
||||||
cmd = C_CTL_EDGE;
|
cmd = C_CTL_EDGE;
|
||||||
subcmd = 1;
|
subcmd = 1;
|
||||||
retval = icom_transaction(rig, cmd, subcmd, cmdbuf, sizeof(cmdbuf), ackbuf,
|
to_bcd(cmdbuf,i,2);
|
||||||
|
retval = icom_transaction(rig, cmd, subcmd, cmdbuf, 1, ackbuf,
|
||||||
&ack_len);
|
&ack_len);
|
||||||
|
|
||||||
if (retval == RIG_OK)
|
if (retval == RIG_OK)
|
||||||
|
Loading…
Reference in New Issue
Block a user