kopia lustrzana https://github.com/Hamlib/Hamlib
rodzic
e1aa80599f
commit
2ff3fa0782
|
@ -1627,6 +1627,7 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (width != RIG_PASSBAND_NOCHANGE) {
|
||||||
if (filter_byte) // then we need the width byte too
|
if (filter_byte) // then we need the width byte too
|
||||||
{
|
{
|
||||||
unsigned char mode_icom; // not used as it will map to USB/LSB
|
unsigned char mode_icom; // not used as it will map to USB/LSB
|
||||||
|
@ -1645,6 +1646,11 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
|
||||||
icom_transaction(rig, C_CTL_MEM, dm_sub_cmd, datamode, 1, ackbuf,
|
icom_transaction(rig, C_CTL_MEM, dm_sub_cmd, datamode, 1, ackbuf,
|
||||||
&ack_len);
|
&ack_len);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rig_debug(RIG_DEBUG_TRACE, "%s RIG_PASSBAND_NOCHANGE\n", __func__);
|
||||||
|
}
|
||||||
|
|
||||||
if (retval != RIG_OK)
|
if (retval != RIG_OK)
|
||||||
{
|
{
|
||||||
|
|
Ładowanie…
Reference in New Issue