📄 main.c
字号:
#include "INC\SYS_DECLARE.H"
#define GLOBAL
#include "INC\SYS_GLOBAL.H"
#undef GLOBAL
#include "INC\SYS_GLOBAL.H"
#include "INC\SYS_INITIAL.H"
#include "INC\SYS_KEY.H"
#include "API\INC\API_CTRL.H"
#include "API\INC\API_EEPROM.H"
#include "API\INC\API_PANEL.H"
#include "UI\INC\UI_FLOW_CTRL.H"
void main(void)
{
SYS_Initial();
API_EEPROM_CheckVersionNo();
API_PANEL_Initial();
LED_PWR_PIN = 0;
#if(UART_DEBUG_MSG)
printf("\nSystem Firmware ver. %5d - %3d", (int)(MAIN_VERSION_NO), (int)(SUB_VERSION_NO));
printf("\nSystem Initial Finish.\n");
#endif // UART_DEBUG_MSG
while(1)
{
API_CTRL_ModeDetection();
if(gfFlowControlInitial)
{
gfFlowControlInitial = 0;
UI_FLC_Initial();
}
if(gScalerPara.fAutoBklitCtrl)
{
API_CTRL_AutoBacklightControl(1);
}
SYS_Key();
UI_FLC_PassKey(gbKeyCode);
gbKeyCode = KEY_NO_KEY;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -