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 'Drivers/BSP/NUCLEO-WB15CC/nucleo_wb15cc.c')
-rw-r--r--Drivers/BSP/NUCLEO-WB15CC/nucleo_wb15cc.c16
1 files changed, 7 insertions, 9 deletions
diff --git a/Drivers/BSP/NUCLEO-WB15CC/nucleo_wb15cc.c b/Drivers/BSP/NUCLEO-WB15CC/nucleo_wb15cc.c
index 377e53e48..66193e995 100644
--- a/Drivers/BSP/NUCLEO-WB15CC/nucleo_wb15cc.c
+++ b/Drivers/BSP/NUCLEO-WB15CC/nucleo_wb15cc.c
@@ -107,7 +107,7 @@ static void COM1_MspDeInit(UART_HandleTypeDef *huart);
/** @addtogroup NUCLEO_WB15CC_LOW_LEVEL_Exported_Functions
* @{
- */
+ */
/**
* @brief This method returns the NUCLEO-WB15CC BSP Driver revision
@@ -120,7 +120,7 @@ uint32_t BSP_GetVersion(void)
/** @addtogroup NUCLEO_WB15CC_LOW_LEVEL_LED_Functions
* @{
- */
+ */
/**
* @brief Configures LED GPIO.
@@ -235,11 +235,11 @@ int32_t BSP_LED_GetState(Led_TypeDef Led)
/**
* @}
- */
+ */
/** @addtogroup NUCLEO_WB15CC_LOW_LEVEL_BUTTON_Functions
* @{
- */
+ */
/**
* @brief Configures Button GPIO and EXTI Line.
@@ -259,7 +259,7 @@ int32_t BSP_PB_Init(Button_TypeDef Button, ButtonMode_TypeDef ButtonMode)
{
GPIO_InitTypeDef gpio_init_structure = {0};
static BSP_EXTI_LineCallback button_callback[BUTTONn] = {BUTTON_SW1_EXTI_Callback, BUTTON_SW2_EXTI_Callback, BUTTON_SW3_EXTI_Callback};
- static uint32_t button_interrupt_priority[BUTTONn] = {BSP_BUTTON_SWx_IT_PRIORITY, BSP_BUTTON_SWx_IT_PRIORITY, BSP_BUTTON_SWx_IT_PRIORITY};
+ static uint32_t button_interrupt_priority[BUTTONn] = {BSP_BUTTON_USER_IT_PRIORITY, BSP_BUTTON_USER_IT_PRIORITY, BSP_BUTTON_USER_IT_PRIORITY};
static const uint32_t button_exti_line[BUTTONn] = {BUTTON_SW1_EXTI_LINE, BUTTON_SW2_EXTI_LINE, BUTTON_SW3_EXTI_LINE};
/* Enable the BUTTON Clock */
@@ -355,7 +355,7 @@ __weak void BSP_PB_Callback(Button_TypeDef Button)
/**
* @}
- */
+ */
#if (USE_BSP_COM_FEATURE > 0)
/** @addtogroup NUCLEO_WB15CC_LOW_LEVEL_COM_Functions
@@ -673,6 +673,4 @@ static void COM1_MspDeInit(UART_HandleTypeDef *huart)
/**
* @}
- */
-
-/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
+ */