From 08b3909c40a192778719c6262bbee4745682948d Mon Sep 17 00:00:00 2001 From: jinlicong <493886250@qq.com> Date: Fri, 31 May 2024 19:15:47 +0800 Subject: [PATCH] 测试和修改了一些功能bug --- Function/VALVE/valve_control.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Function/VALVE/valve_control.h b/Function/VALVE/valve_control.h index 0183b7b..8706b2c 100644 --- a/Function/VALVE/valve_control.h +++ b/Function/VALVE/valve_control.h @@ -12,8 +12,8 @@ #define Motor_B_PIN GPIO_Pin_9 #define Motor_B_PORT GPIOB -#define Motor_B_HIGH GPIO_SetBits(Motor_A_PORT,Motor_A_PIN) -#define Motor_B_LOW GPIO_ResetBits(Motor_A_PORT,Motor_A_PIN) +#define Motor_B_HIGH GPIO_SetBits(Motor_B_PORT,Motor_B_PIN) +#define Motor_B_LOW GPIO_ResetBits(Motor_B_PORT,Motor_B_PIN) #define Motor_OP_PIN GPIO_Pin_6 #define Motor_OP_PORT GPIOB -- Gitblit v1.9.3