Commit f879537d authored by 李梓源's avatar 李梓源

feat:修复第一步左转

parent 46af6e39
......@@ -73,7 +73,7 @@ void Function_Check_Ctrl(uint32_t cmd);
void MENU_CHECK_STEP_ADD(void)
{
MENU_CHECK_STEP++;
if(MENU_CHECK_STEP > 8)
if(MENU_CHECK_STEP > 9)
{
MENU_CHECK_STEP = 0;
}
......@@ -605,6 +605,7 @@ void Function_Check_Ctrl(uint32_t cmd)
RELAY_KEY_MCU = 1;
left_turn = 1;
}
break;
}
case 1:
{
......
......@@ -4432,6 +4432,11 @@ void Display_Send_Vspead(uint8_t menu)
switch (menu)
{
case 0:
{
CHECK_Value = 1;
}
break;
case 1:
{
if(CHECK_Ctrl_delay >= 75)
......
......@@ -356,7 +356,7 @@ void Sys_Run_Mode_100ms_Tasks_Group(void)
ACCONOFF_delay_3s = 0;
}
if(MENU_CHECK_STEP == 2 || MENU_CHECK_STEP == 8)
if(MENU_CHECK_STEP == 3 || MENU_CHECK_STEP == 8)
{
if(ONE_KEY_ONOFF < 300)
{
......
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