Commit ff202fcd authored by 梁百峰's avatar 梁百峰

feat:调整自走时间

parent 894c4295
......@@ -248,7 +248,7 @@ void Sys_Run_Mode_50ms_Tasks_Group(void)
100ms����ִ������ ��0��
------------------------------------------------------------------------------*/
uint16_t u16LJSText;
uint32_t AutoTime;
uint32_t AutoTime = 160;
uint32_t ONOFFtime;
uint8_t compareresult;
void Sys_Run_Mode_100ms_Tasks_Group(void)
......@@ -272,14 +272,26 @@ void Sys_Run_Mode_100ms_Tasks_Group(void)
}
if(AutoFlag == 1)
{
if(AutoTime <= 10)
if(AutoTime <= 200)
{
AutoTime++;
}
else
{
MENU_CHECK_STEP_ADD( );
AutoTime = 0;
if(MENU_CHECK_STEP == 0)
{
MENU_CHECK_STEP = 1;
}
if(MENU_CHECK_STEP == 12)
{
AutoTime = 0;
}
else
{
AutoTime = 160;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment