mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
zapit: speed up scan by skipping unsupported delivery systems
This commit is contained in:
@@ -141,6 +141,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