Changeset 41154 for titan


Ignore:
Timestamp:
11/09/17 19:57:07 (6 years ago)
Author:
gost
Message:

[titan] restore 41151

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/frontenddev.h

    r41152 r41154  
    332332                        if(getconfig(dvbnode->feshortname, NULL) != NULL)
    333333                        {
    334                                 if(flag != 1) printf("-----xx %s no main tuner... exit\n", dvbnode->feshortname);
    335334                                dvbnode = dvbnode->next;
    336335                                continue;                               
     
    383382                                                band = calclof(dvbnode, tpnode, aktnr, 1);
    384383                                        found = 0;
    385                                         if(dvbnode->feaktband != band)
     384                                        if(tmpdvbnode != NULL && tmpdvbnode->feaktband != band)
    386385                                        {
    387                                                 if(flag != 1) printf("-----xx %s band not ok... exit\n", tmpdvbnode->feshortname);
    388386                                                found = -1;
    389387                                                break;
     
    396394                                                return tmpdvbnode;
    397395                                        }
    398                                         //dvbnode->feaktband = band;
    399                                         //dvbnode->feaktpolarization = tpnode->polarization;
    400                                         if(tmpdvbnode->feakttransponder != NULL)
    401                                                 tmpdvbnode->felasttransponder = tmpdvbnode->feakttransponder;
     396                                        dvbnode->feaktband = band;
     397                                        dvbnode->feaktpolarization = tpnode->polarization;
     398               
     399                                        tmpdvbnode->felasttransponder = tmpdvbnode->feakttransponder;
    402400                                        tmpdvbnode->feakttransponder = tpnode;
    403401                                        tmpdvbnode->feaktpolarization = tpnode->polarization;
    404                                         tmpdvbnode->feaktband = band;
    405402                                        free(tmpdvbnode->feaktnr);
    406403                                        if(aktnr != NULL)
     
    465462                                if(tmpdvbnode != NULL && tmpdvbnode->feakttransponder != NULL && (tmpdvbnode->feaktpolarization != tpnode->polarization || tmpdvbnode->feakttransponder->orbitalpos != tpnode->orbitalpos) && (tmpdvbnode->felock != 0 || (flag == 2 && tmpdvbnode->felock == 0)))
    466463                                {
    467                                         if(flag != 1) printf("-----yy %s not equal... exit\n", tmpdvbnode->feshortname);
    468464                                        found = -1;
    469465                                        break;
     
    499495                                        {
    500496                                                //if(flag != 1) printf("++++++ test band1 %s\n", CharPtrTmp[found]->feshortname);
    501                                                 if(CharPtrTmp[found]->feakttransponder != NULL)
     497                                                if(CharPtrTmp[found] != NULL && CharPtrTmp[found]->feaktband != band && (CharPtrTmp[found]->felock != 0 || (flag == 2 && CharPtrTmp[found]->felock == 0)))
    502498                                                {
    503                                                         if(CharPtrTmp[found] != NULL && CharPtrTmp[found]->feaktband != band && (CharPtrTmp[found]->felock != 0 || (flag == 2 && CharPtrTmp[found]->felock == 0)))
    504                                                         {
    505                                                                 if(flag != 1) printf("-----yy %s band not ok... exit\n", tmpdvbnode->feshortname);
    506                                                                 found = 99;
    507                                                                 break;
    508                                                         }
    509                                                         found = found + 1;
     499                                                        found = 99;
     500                                                        break;
    510501                                                }
     502                                                found = found + 1;
    511503                                        }
    512504                                                //if(tmpdvbnode != NULL && tmpdvbnode->feaktband != band && (tmpdvbnode->felock != 0 || (flag == 2 && tmpdvbnode->felock == 0)))
Note: See TracChangeset for help on using the changeset viewer.