diff options
| author | Chasel <[email protected]> | 2025-06-20 06:53:46 +0000 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-06-22 17:11:35 +0800 |
| commit | bf75b6665c291d94525eff478ebaee54aa260d55 (patch) | |
| tree | 13f3285cc7d826ff57673df258203155f0b92f67 | |
| parent | e8b6d4e3fde3ca012ab466fb68e6202e33063fdf (diff) | |
[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.
| -rw-r--r-- | bsp/stm32/libraries/HAL_Drivers/drivers/drv_wdt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bsp/stm32/libraries/HAL_Drivers/drivers/drv_wdt.c b/bsp/stm32/libraries/HAL_Drivers/drivers/drv_wdt.c index daeb946713..7286cdef62 100644 --- a/bsp/stm32/libraries/HAL_Drivers/drivers/drv_wdt.c +++ b/bsp/stm32/libraries/HAL_Drivers/drivers/drv_wdt.c @@ -9,8 +9,10 @@ */ #include <board.h> +#include <rtthread.h> #ifdef RT_USING_WDT +#include "drv_config.h" //#define DRV_DEBUG #define LOG_TAG "drv.wdt" |
