zapit: speed up scan by skipping unsupported delivery systems

This commit is contained in:
Stefan Seyfried
2017-02-12 11:48:01 +01:00
committed by svenhoefer
parent 1dd47e00c0
commit e810bfe30b

View File

@@ -137,6 +137,11 @@ void CServiceScan::CleanAllMaps()
bool CServiceScan::tuneFrequency(FrontendParameters *feparams, t_satellite_position satellitePosition)
{
if (! frontend->supportsDelivery(feparams->delsys)) {
printf("[scan] [fe%d] does not support delivery system %d, skipping\n",
frontend->getNumber(), feparams->delsys);
return false;
}
frontend->setInput(satellitePosition, feparams->frequency, feparams->polarization);
int ret = frontend->driveToSatellitePosition(satellitePosition, false); //true);
if(ret > 0) {