mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
zapit: speed up scan by skipping unsupported delivery systems
This commit is contained in:
committed by
svenhoefer
parent
1dd47e00c0
commit
e810bfe30b
@@ -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) {
|
||||
|
Reference in New Issue
Block a user