pikapython/bsp/w806/Demo/wwdg/wm_hal_msp.c
2022-03-28 17:19:25 +08:00

17 lines
203 B
C

#include "wm_hal.h"
void HAL_MspInit(void)
{
}
void HAL_WDG_MspInit(WDG_HandleTypeDef* hwdg)
{
if(hwdg->Instance == WDG)
{
HAL_NVIC_SetPriority(WDG_IRQn, 0);
HAL_NVIC_EnableIRQ(WDG_IRQn);
}
}