From d69aae90ede578aaebc355dafd3496993ccea126 Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期一, 17 十月 2022 03:02:12 +0800 Subject: [PATCH] fix 2 --- Inc/BSP.h | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Inc/BSP.h b/Inc/BSP.h index 6a5d3ab..49069d9 100644 --- a/Inc/BSP.h +++ b/Inc/BSP.h @@ -1,12 +1,13 @@ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __BSP_H__ #define __BSP_H__ + +#include "stm32f0xx_ll_rcc.h" #include "stm32f0xx_ll_adc.h" #include "stm32f0xx_ll_crc.h" #include "stm32f0xx_ll_dma.h" #include "stm32f0xx_ll_spi.h" #include "stm32f0xx_ll_usart.h" -#include "stm32f0xx_ll_rcc.h" #include "stm32f0xx_ll_system.h" #include "stm32f0xx_ll_gpio.h" #include "stm32f0xx_ll_exti.h" @@ -14,6 +15,7 @@ #include "stm32f0xx_ll_cortex.h" #include "stm32f0xx_ll_utils.h" #include "stm32f0xx_ll_pwr.h" +#include "stm32f0xx_ll_tim.h" void SystemClock_Config(void); void MX_IWDG_Init(void); @@ -21,6 +23,7 @@ void MX_DMA_Init(void); void MX_USART1_UART_Init(void); void MX_USART2_UART_Init(void); +void MX_TIM6_Init(void); void MX_SPI1_Init(void); void MX_SPI2_Init(void); -- Gitblit v1.9.1