kopia lustrzana https://github.com/Hamlib/Hamlib
fix MEM scan on IC receivers, thanks to John Ronan EI7IG
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2781 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.11
rodzic
bad429c950
commit
bbe4c6a316
|
@ -2715,7 +2715,14 @@ int icom_scan(RIG *rig, vfo_t vfo, scan_t scan, int ch)
|
|||
retval = icom_set_vfo(rig, RIG_VFO_MEM);
|
||||
if (retval != RIG_OK)
|
||||
return retval;
|
||||
scan_sc = S_SCAN_START;
|
||||
/* Looks like all the IC-R* have this command,
|
||||
* but some old models don't have it.
|
||||
* Should be put in icom_priv_caps ?
|
||||
*/
|
||||
if (rig->caps->rig_type == RIG_TYPE_RECEIVER)
|
||||
scan_sc = S_SCAN_MEM2;
|
||||
else
|
||||
scan_sc = S_SCAN_START;
|
||||
break;
|
||||
case RIG_SCAN_SLCT:
|
||||
retval = icom_set_vfo(rig, RIG_VFO_MEM);
|
||||
|
|
Ładowanie…
Reference in New Issue