kopia lustrzana https://github.com/Hamlib/Hamlib
Fix datamode set in icom.c to use 0x00 0x00 per the manual for 7300 and 9700
https://github.com/Hamlib/Hamlib/issues/448pull/468/head
rodzic
5883897656
commit
9b98a264ab
|
@ -1627,7 +1627,6 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
|
|||
datamode[0] = 0x00;
|
||||
break;
|
||||
}
|
||||
|
||||
if (width != RIG_PASSBAND_NOCHANGE)
|
||||
{
|
||||
if (filter_byte) // then we need the width byte too
|
||||
|
@ -1638,7 +1637,7 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
|
|||
// since width_icom is 0-2 for rigs that need this here we have to make it 1-3
|
||||
datamode[1] = datamode[0] ? width_icom : 0;
|
||||
retval =
|
||||
icom_transaction(rig, C_CTL_MEM, dm_sub_cmd, datamode, width_icom == -1 ? 1 : 2,
|
||||
icom_transaction(rig, C_CTL_MEM, dm_sub_cmd, datamode, 2,
|
||||
ackbuf,
|
||||
&ack_len);
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue