Changeset 26 in svn for trunk/zasc/app_c/DST_BaseWin.c


Ignore:
Timestamp:
Mar 25, 2015 5:12:16 PM (11 years ago)
Author:
megakiss
Message:

금강방송 Except 채널 구현

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zasc/app_c/DST_BaseWin.c

    r22 r26  
    183183                                                bPSIPTimeOut = true; 
    184184                                                if (nScanCount > 0 && CT_ScanFindChannel() == false) JST_DB_Del(event.data32[1]); 
    185                                                 if (nScanCount > DST_MaxRF() - DST_MinRF()+1) 
     185                                                if (nScanCount > DST_MaxRF() - DST_MinRF()+1 - DST_DB_GetExceptRFCount()) 
    186186                                                { 
    187187                                                        DST_SendWindowEventWithOnlyCmd(WM_POWER_DOWN_ENTER); 
    188188                                                        return; 
    189189                                                } 
    190                                                 nRF = (nRF >= DST_MaxRF()) ? DST_MinRF() : nRF+1; 
     190                                                //nRF = (nRF >= DST_MaxRF()) ? DST_MinRF() : nRF+1; 
     191                                                nRF = DST_DB_GetNextUnexceptRF(nRF); 
    191192                                                JST_Scan(nRF); 
    192193                                                nScanCount++; 
     
    215216                                                bLockTimeOut = true; 
    216217                                                if (nScanCount > 0 && CT_ScanFindChannel() == false) JST_DB_Del(event.data32[1]); 
    217                                                 if (nScanCount > DST_MaxRF() - DST_MinRF()+1) 
     218                                                if (nScanCount > DST_MaxRF() - DST_MinRF()+1- DST_DB_GetExceptRFCount()) 
    218219                                                { 
    219220                                                        DST_SendWindowEventWithOnlyCmd(WM_POWER_DOWN_ENTER); 
    220221                                                        return; 
    221222                                                } 
    222                                                 nRF = (nRF >= DST_MaxRF()) ? DST_MinRF() : nRF+1; 
     223                                                //nRF = (nRF >= DST_MaxRF()) ? DST_MinRF() : nRF+1; 
     224                                                nRF = DST_DB_GetNextUnexceptRF(nRF); 
    223225                                                JST_Scan(nRF); 
    224226                                                nScanCount++; 
     
    229231                                                if (bPSIPTimeOut || bLockTimeOut || bReceiveTVCT) break; 
    230232                                                bReceiveTVCT = true; 
    231                                                 if (nScanCount > DST_MaxRF() - DST_MinRF()+1) 
     233                                                if (nScanCount > DST_MaxRF() - DST_MinRF()+1- DST_DB_GetExceptRFCount()) 
    232234                                                { 
    233235                                                        DST_SendWindowEventWithOnlyCmd(WM_POWER_DOWN_ENTER); 
    234236                                                        return; 
    235237                                                } 
    236                                                 nRF = (nRF >= DST_MaxRF()) ? DST_MinRF() : nRF+1; 
     238                                                //nRF = (nRF >= DST_MaxRF()) ? DST_MinRF() : nRF+1; 
     239                                                nRF = DST_DB_GetNextUnexceptRF(nRF); 
    237240                                                JST_Scan(nRF); 
    238241                                                nScanCount++; 
     
    262265                                this->KillTimer(this, 1); // Background ScanÀ» ÁßÁöÇÑ´Ù. 
    263266                                if (DST_g_PowerOn == true) break; 
    264                                 nRF = (nRF >= DST_MaxRF()) ? DST_MinRF() : nRF+1; 
     267                                //nRF = (nRF >= DST_MaxRF()) ? DST_MinRF() : nRF+1; 
     268                                nRF = DST_DB_GetNextUnexceptRF(nRF); 
    265269                                JST_Scan(nRF); 
    266270                                nScanCount++; 
Note: See TracChangeset for help on using the changeset viewer.