From 6126f6a78b14297cefb02f06ba58806767d424b5 Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期三, 01 二月 2023 12:05:29 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/FP0' into kNet --- Src/BSP.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Src/BSP.c b/Src/BSP.c index f2e255c..e312c08 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