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-79ac388436b8
Hamlib-1.2.11
Stéphane Fillod, F8CFE 2009-12-10 21:17:25 +00:00
rodzic bad429c950
commit bbe4c6a316
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -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);