浏览代码

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

SummerGift 5 年之前
父节点
当前提交
0b0936cae1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      bsp/stm32/libraries/STM32G4xx_HAL/STM32G4xx_HAL_Driver/Inc/stm32g4xx_hal.h

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

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