From 5fa0c0e2f1f13e3238359f2c66bb31d326cf9439 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sat, 28 Jan 2006 15:47:58 +0000 Subject: [PATCH] code comments --- lib/dvb/sec.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/dvb/sec.cpp b/lib/dvb/sec.cpp index 58a1b6fa..9095ca6a 100644 --- a/lib/dvb/sec.cpp +++ b/lib/dvb/sec.cpp @@ -144,16 +144,18 @@ int eDVBSatelliteEquipmentControl::canTune(const eDVBFrontendParametersSatellite { rotor=true; if ( curRotorPos == sat.orbital_position ) - ret=20; + ret=20; // rotor on correct orbpos = prio 20 else - ret=10; + ret=10; // rotor must turn to correct orbpos = prio 10 } + else + ret = 30; // no rotor = prio 30 } else + { csw = band; - - if (!ret) - ret=40; + ret = 40; // no diseqc = prio 40 + } if (linked_to != -1) // check for linked tuners.. { -- 2.30.2