From 95f0a40a68d984292f231fbc26b20ca8a6fd2752 Mon Sep 17 00:00:00 2001 From: Lizongdi <1210855344@qq.com> Date: Wed, 21 Oct 2026 14:06:50 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AB=96=E7=9B=B4=E7=94=B5=E6=9C=BA=E4=BD=BF?= =?UTF-8?q?=E8=83=BD=E5=8F=AF=E6=8E=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BHBF_Robot_Lifting_Lug/Core/BASE/Src/BSP/bsp_GPIO.c | 4 ++-- diaoerqiege/BHBF_Robot_Lifting_Lug/Core/Src/FSM.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/diaoerqiege/BHBF_Robot_Lifting_Lug/Core/BASE/Src/BSP/bsp_GPIO.c b/diaoerqiege/BHBF_Robot_Lifting_Lug/Core/BASE/Src/BSP/bsp_GPIO.c index 2e0e78b..2e8e282 100644 --- a/diaoerqiege/BHBF_Robot_Lifting_Lug/Core/BASE/Src/BSP/bsp_GPIO.c +++ b/diaoerqiege/BHBF_Robot_Lifting_Lug/Core/BASE/Src/BSP/bsp_GPIO.c @@ -32,10 +32,10 @@ void GF_BSP_GPIO_SetIO(uint8_t IO_Index,uint8_t Level) HAL_GPIO_WritePin(OUT_2_GPIO_Port, OUT_2_Pin, PinState); break; case 3: - //HAL_GPIO_WritePin(OUT_3_GPIO_Port, OUT_3_Pin, PinState); + HAL_GPIO_WritePin(OUT_3_GPIO_Port, OUT_3_Pin, PinState); break; case 4: - //HAL_GPIO_WritePin(OUT_4_GPIO_Port, OUT_4_Pin, PinState); + HAL_GPIO_WritePin(OUT_4_GPIO_Port, OUT_4_Pin, PinState); break; case 5: HAL_GPIO_WritePin(OUT_5_GPIO_Port, OUT_5_Pin, PinState); diff --git a/diaoerqiege/BHBF_Robot_Lifting_Lug/Core/Src/FSM.c b/diaoerqiege/BHBF_Robot_Lifting_Lug/Core/Src/FSM.c index 1ce58c0..194e003 100644 --- a/diaoerqiege/BHBF_Robot_Lifting_Lug/Core/Src/FSM.c +++ b/diaoerqiege/BHBF_Robot_Lifting_Lug/Core/Src/FSM.c @@ -167,11 +167,11 @@ void IO_Control() Test1 = GF_BSP_GPIO_ReadIO(3); if (!Test1) { - GF_BSP_GPIO_SetIO(5, 0); + GF_BSP_GPIO_SetIO(3, 0); } else { - GF_BSP_GPIO_SetIO(5, 1); + GF_BSP_GPIO_SetIO(3, 1); } }