kopia lustrzana https://github.com/Hamlib/Hamlib
Change width to add 1 for icom rigs that need datamode filter width
rodzic
138787f44c
commit
5572823882
|
@ -1205,7 +1205,8 @@ int icom_set_mode_with_data(RIG *rig, vfo_t vfo, rmode_t mode,
|
|||
rmode_t mode2; // not used as it will map to USB/LSB
|
||||
pbwidth_t width2;
|
||||
icom2rig_mode(rig, mode, width, &mode2, &width2);
|
||||
datamode[1] = datamode[1] ? width2 : 0;
|
||||
// since width2 is 0-2 for rigs that need this here we have to make it 1-3
|
||||
datamode[1] = datamode[1] ? width2+1 : 0;
|
||||
retval =
|
||||
icom_transaction(rig, C_CTL_MEM, dm_sub_cmd, datamode, 2, ackbuf,
|
||||
&ack_len);
|
||||
|
|
Ładowanie…
Reference in New Issue