diff --git a/Core/Src/FSM.c b/Core/Src/FSM.c index 60d0071..8ac399d 100644 --- a/Core/Src/FSM.c +++ b/Core/Src/FSM.c @@ -310,6 +310,7 @@ void Dym_Test() GF_BSP_GPIO_SetIO(Light, 1); } + //报警后,等自动程序都复位才能继续 if(GV.Robot_Ultrasonic.Dym_Value_Count < 3 && Current_T_F4_Value.AutoForWard == 0 && Current_T_F4_Value.AutoBackWard == 0