mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +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)
|
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);
|
frontend->setInput(satellitePosition, feparams->frequency, feparams->polarization);
|
||||||
int ret = frontend->driveToSatellitePosition(satellitePosition, false); //true);
|
int ret = frontend->driveToSatellitePosition(satellitePosition, false); //true);
|
||||||
if(ret > 0) {
|
if(ret > 0) {
|
||||||
|
Reference in New Issue
Block a user