void main(void)
{
Init_MCU();
StartConfig();
#if(RM_EEPROM_TYPE==RM_TYPE_PMC010)
msSPI_CheckWriteProtect();
#endif
Load4K();
WatchDogClear();
#if(ENABLE_VD_DSP)
VD_DSP_Init();
#endif
WatchDogClear();
VersionMsg();
WatchDogClear();
Init_GlobalVariables();
ReadSetting();
Set_PowerOnFlag();
WatchDogClear();
msInit();
WatchDogClear();
OSDGammaInit();
WatchDogClear();
vdInitVariable();
Init_Device();
CheckFactoryKeyStatus();
#if ENABLE_DDC2BI
msDDC2BIInit();
#endif
#if ENABLE_MCU_USE_INTERNAL_CLOCK
McuUseInternalClock();
#endif
Menu_InitVariable();
#if(ENABLE_WATCH_DOG)
McuWatchDogSetTimer(WatchDogTime_5S);
#endif
while (1)
{
WatchDogClear();
uartDecodeCommand();
if(g_bDebugProgStopFlag)
continue;
//这块有一部分代码是视频解码,删掉了
SlowTimeHandler();
VD_DSP_Processor();
Menu_OsdHandler();
#if TV_ENABLE
if (TV_SearchHandle())
continue;
#endif
#if( ENABLE_PAL_SWITCH_HANDLER )
//if( g_ucmsVDCtl2&MSVD_CTL2_FLAG_PAL_SWITCH )
msVDPalSwitchHandler();
#endif
SyncModeHandler();
Power_PowerHandler();
#if GAME_ENABLE
GameHandle();
#endif
#ifdef IR_DEBUG_EN
DebugIRHandler();
#endif
FlagCheckHandler();
VD_DSP_Processor();
#if(ENABLE_CHECK_AUTO_H_TOTAL)
msCheckBK0_57_Value(0);
#endif
#if(ENABLE_DDC2BI)
msDDC2BICommandHandler();
#endif
}
}
应该就while(1)这个死循环里了,具体是哪个函数啊?