From 4392349b649164f2b498ca5157ecd141631ea96f Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期三, 01 二月 2023 18:18:47 +0800 Subject: [PATCH] KBus fix project name --- Src/BSP.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Src/BSP.c b/Src/BSP.c index a43a37b..9d161db 100644 --- a/Src/BSP.c +++ b/Src/BSP.c @@ -596,10 +596,11 @@ PA2 ------> USART2_TX PA3 ------> USART2_RX */ + GPIO_InitStruct.Pin = LL_GPIO_PIN_1|LL_GPIO_PIN_2|LL_GPIO_PIN_3; GPIO_InitStruct.Mode = LL_GPIO_MODE_ALTERNATE; GPIO_InitStruct.Speed = LL_GPIO_SPEED_FREQ_HIGH; - GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_PUSHPULL; + GPIO_InitStruct.OutputType = LL_GPIO_OUTPUT_OPENDRAIN; GPIO_InitStruct.Pull = LL_GPIO_PULL_NO; GPIO_InitStruct.Alternate = LL_GPIO_AF_1; LL_GPIO_Init(GPIOA, &GPIO_InitStruct); -- Gitblit v1.9.1