zapit/src/getservices.cpp: change default pilot param to auto

This commit is contained in:
[CST] Focus
2014-12-23 19:12:17 +03:00
parent f816efadc6
commit 75bae10ba9

View File

@@ -386,7 +386,7 @@ void CServiceManager::ParseTransponders(xmlNodePtr node, t_satellite_position sa
else else
feparams.frequency = (int) 1000 * (int) round ((double) feparams.frequency / (double) 1000); feparams.frequency = (int) 1000 * (int) round ((double) feparams.frequency / (double) 1000);
/* TODO: add xml tag ? */ /* TODO: add xml tag ? */
feparams.pilot = ZPILOT_AUTO_SW; feparams.pilot = ZPILOT_AUTO;
} }
else if (CFrontend::isTerr(delsys)) { else if (CFrontend::isTerr(delsys)) {
//<TS id="0001" on="7ffd" frq="650000" inv="2" bw="3" hp="9" lp="9" con="6" tm="2" gi="0" hi="4" sys="6"> //<TS id="0001" on="7ffd" frq="650000" inv="2" bw="3" hp="9" lp="9" con="6" tm="2" gi="0" hi="4" sys="6">
@@ -612,7 +612,7 @@ void CServiceManager::ParseSatTransponders(delivery_system_t delsys, xmlNodePtr
const char *rolloff = xmlGetAttribute(tps, "rolloff"); const char *rolloff = xmlGetAttribute(tps, "rolloff");
/* TODO: add xml tag ? */ /* TODO: add xml tag ? */
feparams.pilot = ZPILOT_AUTO_SW; feparams.pilot = ZPILOT_AUTO;
if (system) { if (system) {
uint32_t s = xmlGetNumericAttribute(tps, "system", 0); uint32_t s = xmlGetNumericAttribute(tps, "system", 0);
switch (s) { switch (s) {