kopia lustrzana https://github.com/Hamlib/Hamlib
Fix medium filter setting for IC-706* which insist on having
the passband data along the mode. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2782 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.11
rodzic
bbe4c6a316
commit
12ecc526dd
|
@ -46,9 +46,12 @@ int ic706_r2i_mode(RIG *rig, rmode_t mode, pbwidth_t width,
|
|||
|
||||
err = rig2icom_mode(rig, mode, width, md, pd);
|
||||
|
||||
if (err == -1)
|
||||
if (err != RIG_OK)
|
||||
return err;
|
||||
|
||||
if (*pd == -1)
|
||||
*pd = PD_MEDIUM_2;
|
||||
else
|
||||
(*pd)--;
|
||||
|
||||
return RIG_OK;
|
||||
|
|
Ładowanie…
Reference in New Issue