Browse Source

[fix] add #include <rtthread.h> for stm32g4xx_hal.h

SummerGift 5 years ago
parent
commit
0b0936cae1

+ 1 - 0
bsp/stm32/libraries/STM32G4xx_HAL/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h

@@ -28,6 +28,7 @@ extern "C" {
 
 
 /* Includes ------------------------------------------------------------------*/
 /* Includes ------------------------------------------------------------------*/
 #include "stm32g4xx_hal_conf.h"
 #include "stm32g4xx_hal_conf.h"
+#include <rtthread.h>
 
 
 /** @addtogroup STM32G4xx_HAL_Driver
 /** @addtogroup STM32G4xx_HAL_Driver
   * @{
   * @{