Browse Source

[bsp][stm32] drv_rtc.c中包含drv_common.h 避免找不到 error_handle实现 (#8676)

Shicheng Chu 1 year ago
parent
commit
3ff4fe5395
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bsp/stm32/libraries/HAL_Drivers/drivers/drv_rtc.c

+ 1 - 0
bsp/stm32/libraries/HAL_Drivers/drivers/drv_rtc.c

@@ -14,6 +14,7 @@
 #include "board.h"
 #include "board.h"
 #include <sys/time.h>
 #include <sys/time.h>
 #include <rtdevice.h>
 #include <rtdevice.h>
+#include <drv_common.h>
 
 
 #ifdef BSP_USING_ONCHIP_RTC
 #ifdef BSP_USING_ONCHIP_RTC