Skip to content

Commit bf75b66

Browse files
MaihuanyiRbb666
authored andcommitted
[bsp][stm32] 1.Fixed the problem that the watchdog device was not registered, because the macro RT_USING_WDT was not introduced due to the missing header file.
1 parent e8b6d4e commit bf75b66

File tree

1 file changed

+2
-0
lines changed
  • bsp/stm32/libraries/HAL_Drivers/drivers

1 file changed

+2
-0
lines changed

bsp/stm32/libraries/HAL_Drivers/drivers/drv_wdt.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@
99
*/
1010

1111
#include <board.h>
12+
#include <rtthread.h>
1213

1314
#ifdef RT_USING_WDT
15+
#include "drv_config.h"
1416

1517
//#define DRV_DEBUG
1618
#define LOG_TAG "drv.wdt"

0 commit comments

Comments
 (0)