Changeset 40798 for titan/titan/scan.h
- Timestamp:
- 08/23/17 21:12:43 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/scan.h
r40793 r40798 327 327 struct transponder *tpnode = NULL; 328 328 int addtrans = 0; 329 int system = 0; 329 330 330 331 if(buf == NULL) return -1; … … 376 377 hierarchy = HIERARCHY_AUTO; 377 378 modulation = QAM_AUTO; 378 //inversion = INVERSION_UNKNOWN;379 inversion = INVERSION_AUTO;380 //system = SYSTEM_DVB_T2;379 inversion = 2; //INVERSION_UNKNOWN 380 //inversion = INVERSION_AUTO; 381 system = 1; //DVB-T2 381 382 382 383 unsigned char* loop1 = buf + 8; //call_id … … 407 408 frequency = cfre * 10; 408 409 debug(500, "nitscan DVB-T2 - Flag=%d -> id=%llu freq=%d bandwidth=%d hp=%d lp=%d modulation=%d guard=%d trans=%d hierarchy=%d tpnode=%p", flag, id, frequency, bandwidth, hp, lp, modulation, guardinterval, transmission, hierarchy, tpnode); 409 tpnode = createtransponder(id, FE_OFDM, orbitalpos, frequency, inversion, bandwidth, lp, hp, modulation, guardinterval, transmission, hierarchy);410 tpnode = createtransponder(id, FE_OFDM, orbitalpos, frequency, inversion, bandwidth, lp, hp, modulation, guardinterval, transmission, system); 410 411 if(tpnode != NULL) 411 412 addtrans++; … … 431 432 frequency = cfre * 10; 432 433 debug(500, "nitscan DVB-T2 - Flag=%d -> id=%llu freq=%d bandwidth=%d hp=%d lp=%d modulation=%d guard=%d trans=%d hierarchy=%d tpnode=%p", flag, id, frequency, bandwidth, hp, lp, modulation, guardinterval, transmission, hierarchy, tpnode); 433 tpnode = createtransponder(id, FE_OFDM, orbitalpos, frequency, inversion, bandwidth, lp, hp, modulation, guardinterval, transmission, hierarchy);434 tpnode = createtransponder(id, FE_OFDM, orbitalpos, frequency, inversion, bandwidth, lp, hp, modulation, guardinterval, transmission, system); 434 435 if(tpnode != NULL) 435 436 addtrans++; … … 1245 1246 struct sat* satnode = sat; 1246 1247 int nitscan = 1; 1248 int tout = 0; 1247 1249 1248 1250 if(scaninfo.fenode == NULL || scaninfo.tpnode == NULL || timernode == NULL) … … 1334 1336 else if(fenode->feinfo->type == FE_OFDM) 1335 1337 { 1338 tout = 0; 1336 1339 if(fetunedvbt(fenode, tpnode) != 0) 1337 1340 { 1341 tout = 1; 1342 debug(500, "scan done system:%d", tpnode->system); 1343 if(tpnode->system == 0 || tpnode->system == 3 ) 1344 { 1345 tpnode->system = 1; 1346 debug(500, "tune DVB-T2 after DVB-T id=%llu freq=%d orbitalpos=%d tpnode=%p", tpnode->id, tpnode->frequency, tpnode->orbitalpos, tpnode); 1347 if(fetunedvbt(fenode, tpnode) == 0) 1348 tout = 0; 1349 } 1350 } 1351 if(tout == 1) 1352 { 1338 1353 scaninfo.tpcount++; 1339 1354 if(scaninfo.cleartransponder == 1)
Note: See TracChangeset
for help on using the changeset viewer.