|
@ -310,6 +310,7 @@ void Dym_Test() |
|
|
GF_BSP_GPIO_SetIO(Light, 1); |
|
|
GF_BSP_GPIO_SetIO(Light, 1); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//报警后,等自动程序都复位才能继续
|
|
|
if(GV.Robot_Ultrasonic.Dym_Value_Count < 3 |
|
|
if(GV.Robot_Ultrasonic.Dym_Value_Count < 3 |
|
|
&& Current_T_F4_Value.AutoForWard == 0 |
|
|
&& Current_T_F4_Value.AutoForWard == 0 |
|
|
&& Current_T_F4_Value.AutoBackWard == 0 |
|
|
&& Current_T_F4_Value.AutoBackWard == 0 |
|
|