Ignore:
Timestamp:
May 28, 2015 3:52:35 PM (11 years ago)
Author:
phkim
Message:
  1. phkim
  2. 리모콘
  3. 기능 테스트 1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/remocon/zasc/app_c/dst_eroum_interface.c

    r39 r60  
    850850DHL_ERROR DHL_TUN_Start(int rf, DHL_MODULATION_MODE nMode) 
    851851{ 
     852#if 0 
    852853        int freqkHz = DST_GetMHzFrequencybyIndex(rf) * 1000; 
    853854        if (DST_g_bUseAirFreq) 
     
    883884#endif 
    884885        tuner_start_tick = DST_OS_GetTickCount(); 
     886#endif 
    885887        return DHL_OK_; 
    886888} 
     
    10571059} 
    10581060 
     1061int nLEDState =0; 
    10591062void DHL_SetLED(bool bRed, bool bGreen) 
    10601063{ 
    1061         static bool bFirst = true; 
    1062         static bool bRedOld = false; 
    1063         static bool bGreenOld = false; 
    1064         if (bFirst == true || bRedOld != bRed || bGreenOld != bGreen) 
     1064//      static bool bFirst = true; 
     1065//      static bool bRedOld = false; 
     1066//      static bool bGreenOld = false; 
     1067        if(bRed) nLEDState =1; 
     1068        else nLEDState=0; 
     1069//      if (bFirst == true || bRedOld != bRed || bGreenOld != bGreen) 
    10651070        { 
    10661071                void dhl_led_control2(DS_U32 onoff); 
     
    10711076                        buser_AOV_input_LED(g_sys_rfm, value); 
    10721077                }        
    1073                 bFirst = false; 
    1074                 bRedOld = bRed; 
    1075                 bGreenOld =  bGreen; 
     1078//              bFirst = false; 
     1079//              bRedOld = bRed; 
     1080//              bGreenOld =  bGreen; 
    10761081        } 
    10771082} 
     
    11961201static void tIRTask() 
    11971202{ 
     1203#if 0 
    11981204        while (1) 
    11991205        { 
     
    12071213                if (g_IrCallBack) g_IrCallBack(ir_code, ir_repeat, DST_g_KeyPressTime); 
    12081214        } 
     1215#endif 
    12091216} 
    12101217static void IRCallback(unsigned int code, unsigned int repeat) 
     
    18241831} 
    18251832#endif // CC FeedingÀ» À§ÇÑ Å×½ºÆ® ÇÔ¼ö 
     1833 
     1834 
     1835 
     1836void DHL_Delay562_5us(int count) 
     1837{ 
     1838        int i = 0; 
     1839        for (i = 0; i < count; i++) 
     1840        { 
     1841                if (nLEDState == 0) 
     1842                { 
     1843                        printf("."); 
     1844                } 
     1845                else 
     1846                { 
     1847                        printf("T"); 
     1848                } 
     1849        } 
     1850 
     1851        //dhl_sys_delay562_5us(count); 
     1852} 
Note: See TracChangeset for help on using the changeset viewer.