kopia lustrzana https://github.com/Hamlib/Hamlib
Add missing command to set K2 to K22 in set_mode
An oversight had omitted the necessary call to set the K2 to K22 extended mode before setting the filter. The function now sets K22 properly, sets the filter width, and then K20 before returning. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3023 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.13
rodzic
96c0a1c14a
commit
749ababe13
|
@ -318,11 +318,19 @@ int k2_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width)
|
|||
if (err != RIG_OK)
|
||||
return err;
|
||||
|
||||
err = kenwood_simple_cmd(rig, "K22");
|
||||
if (err != RIG_OK)
|
||||
return err;
|
||||
|
||||
/* Set the filter slot */
|
||||
err = kenwood_simple_cmd(rig, fcmd);
|
||||
if (err != RIG_OK)
|
||||
return err;
|
||||
|
||||
err = kenwood_simple_cmd(rig, "K20");
|
||||
if (err != RIG_OK)
|
||||
return err;
|
||||
|
||||
return RIG_OK;
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue