Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Flipper-Zero/STM32CubeWB.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/P-NUCLEO-WB55.Nucleo/Applications/LLD_BLE/LLD_BLE_Pressbutton/Core/Src/stm32wbxx_hal_msp.c')
-rw-r--r--Projects/P-NUCLEO-WB55.Nucleo/Applications/LLD_BLE/LLD_BLE_Pressbutton/Core/Src/stm32wbxx_hal_msp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Projects/P-NUCLEO-WB55.Nucleo/Applications/LLD_BLE/LLD_BLE_Pressbutton/Core/Src/stm32wbxx_hal_msp.c b/Projects/P-NUCLEO-WB55.Nucleo/Applications/LLD_BLE/LLD_BLE_Pressbutton/Core/Src/stm32wbxx_hal_msp.c
index e3d6cdb29..f2caee499 100644
--- a/Projects/P-NUCLEO-WB55.Nucleo/Applications/LLD_BLE/LLD_BLE_Pressbutton/Core/Src/stm32wbxx_hal_msp.c
+++ b/Projects/P-NUCLEO-WB55.Nucleo/Applications/LLD_BLE/LLD_BLE_Pressbutton/Core/Src/stm32wbxx_hal_msp.c
@@ -85,7 +85,10 @@ void HAL_UART_MspInit(UART_HandleTypeDef* huart)
__HAL_RCC_LPUART1_CLK_ENABLE();
/* GPIOs configuration */
+ #if(CFG_DEBUG_TRACE != 0)
gpio_lld_lpuart_init();
+ #endif
+
/* LPUART1 DMA Init */
/* LPUART1_TX Init */
@@ -137,7 +140,9 @@ void HAL_UART_MspInit(UART_HandleTypeDef* huart)
__HAL_RCC_USART1_CLK_ENABLE();
/* GPIOs configuration */
+ #if(CFG_DEBUG_TRACE != 0)
gpio_lld_usart_init();
+ #endif
/* USART1 DMA Init */
/* USART1_TX Init */