Changeset 60 in svn
- Timestamp:
- May 28, 2015 3:52:35 PM (11 years ago)
- Location:
- branches/remocon/zasc/app_c
- Files:
-
- 3 edited
-
DST_Main.c (modified) (3 diffs)
-
dst_eroum_interface.c (modified) (7 diffs)
-
dst_eroum_interface.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/remocon/zasc/app_c/DST_Main.c
r37 r60 21 21 } 22 22 #else // _GET_SW_VERSION_ 23 #include "DST_HostInterface.h" 24 #include "DST_ChannelTune.h" 25 #include "DST_SignalMonitor.h" 26 #include "DST_WinManagerTask.h" 27 #include "DST_WinManager.h" 28 #include "DST_UserInterface.h" 29 #include "DST_DB.h" 30 #include "DST_DB_Engine.h" 23 #include "DST_nec_ir_sender.h" 31 24 32 25 void DST_CCManagerInit(void); 33 26 void DST_LoadFlash(DS_U8 Version); 34 void DST_SimpleTask(void);27 //void DST_SimpleTask(void); 35 28 36 29 // new delete overloading … … 87 80 DST_Printf("--------------------------------------------------\n"); 88 81 DST_Printf("\n"); 89 DST_DB_Open();90 if (DST_EEPROM_GetNeedReset() == 1) 91 {92 DST_Factory_Reset();93 }94 CT_ChMapUpdate();95 DHL_INFO_SetLastPowerState(true);96 DST_UI_SetCh34(DST_UI_GetCh34()); // TV/CVBS Ãâ·Â °áÁ¤97 DST_WinManagerInit(); // À©µµ¿ì ¸Þ´ÏÀú ÃʱâÈ98 DST_DB_TuneFirstChannel();99 DST_SimpleTask();100 DST_CCManagerInit();101 DST_UI_SetVolume(DST_EEPROM_GetVolume());82 // DST_DB_Open(); 83 // if (DST_EEPROM_GetNeedReset() == 1) 84 // { 85 // DST_Factory_Reset(); 86 // } 87 // CT_ChMapUpdate(); 88 // DHL_INFO_SetLastPowerState(true); 89 // DST_UI_SetCh34(DST_UI_GetCh34()); // TV/CVBS Ãâ·Â °áÁ¤ 90 // DST_WinManagerInit(); // À©µµ¿ì ¸Þ´ÏÀú ÃʱâÈ 91 // DST_DB_TuneFirstChannel(); 92 // DST_SimpleTask(); 93 // DST_CCManagerInit(); 94 // DST_UI_SetVolume(DST_EEPROM_GetVolume()); 102 95 while (1) 103 96 { … … 107 100 DST_Printf("Current Time = %02d:%02d:%02d\n", (int)hour, (int)min, (int)sec); 108 101 // DST_OS_PrintMemUnit(); 102 DST_NEC_IR_Send(0x20, 0x08, 0x03); // CMB ¸®¸ðÄÜÀÇ Mute Ű 109 103 #ifndef DSTAR 110 104 // m_report(); -
branches/remocon/zasc/app_c/dst_eroum_interface.c
r39 r60 850 850 DHL_ERROR DHL_TUN_Start(int rf, DHL_MODULATION_MODE nMode) 851 851 { 852 #if 0 852 853 int freqkHz = DST_GetMHzFrequencybyIndex(rf) * 1000; 853 854 if (DST_g_bUseAirFreq) … … 883 884 #endif 884 885 tuner_start_tick = DST_OS_GetTickCount(); 886 #endif 885 887 return DHL_OK_; 886 888 } … … 1057 1059 } 1058 1060 1061 int nLEDState =0; 1059 1062 void DHL_SetLED(bool bRed, bool bGreen) 1060 1063 { 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) 1065 1070 { 1066 1071 void dhl_led_control2(DS_U32 onoff); … … 1071 1076 buser_AOV_input_LED(g_sys_rfm, value); 1072 1077 } 1073 bFirst = false;1074 bRedOld = bRed;1075 bGreenOld = bGreen;1078 // bFirst = false; 1079 // bRedOld = bRed; 1080 // bGreenOld = bGreen; 1076 1081 } 1077 1082 } … … 1196 1201 static void tIRTask() 1197 1202 { 1203 #if 0 1198 1204 while (1) 1199 1205 { … … 1207 1213 if (g_IrCallBack) g_IrCallBack(ir_code, ir_repeat, DST_g_KeyPressTime); 1208 1214 } 1215 #endif 1209 1216 } 1210 1217 static void IRCallback(unsigned int code, unsigned int repeat) … … 1824 1831 } 1825 1832 #endif // CC FeedingÀ» À§ÇÑ Å×½ºÆ® ÇÔ¼ö 1833 1834 1835 1836 void 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 } -
branches/remocon/zasc/app_c/dst_eroum_interface.h
r2 r60 412 412 bool DHL_INFO_GetLastPowerState(); 413 413 void DHL_INFO_SetLastPowerState(bool bOn); 414 415 416 void DHL_Delay562_5us(int count); 417 414 418 #if 0 415 419 ____Flash_Memory___()
Note: See TracChangeset
for help on using the changeset viewer.
