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/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c')
-rw-r--r--Projects/P-NUCLEO-WB55.Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Projects/P-NUCLEO-WB55.Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c b/Projects/P-NUCLEO-WB55.Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c
index 96a612165..29ea98946 100644
--- a/Projects/P-NUCLEO-WB55.Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c
+++ b/Projects/P-NUCLEO-WB55.Nucleo/Examples/I2C/I2C_TwoBoards_ComDMA/Src/main.c
@@ -310,6 +310,11 @@ void SystemClock_Config(void)
{
Error_Handler();
}
+ /** Initializes the peripherals clocks
+ */
+ /* USER CODE BEGIN Smps */
+
+ /* USER CODE END Smps */
}
/**
@@ -366,6 +371,7 @@ static void MX_I2C1_Init(void)
*/
static void MX_DMA_Init(void)
{
+
/* DMA controller clock enable */
__HAL_RCC_DMAMUX1_CLK_ENABLE();
__HAL_RCC_DMA1_CLK_ENABLE();