Fix icom_get_freq_range index

This commit is contained in:
Michael Black 2020-03-09 23:03:48 -05:00
parent e6e9d8d8aa
commit 40919d703f

View File

@ -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)