From 51393af87f6dc09a00e78d71dbff8a15721c1198 Mon Sep 17 00:00:00 2001 From: yincheng.zhong <634916154@qq.com> Date: 星期二, 18 二月 2025 10:29:46 +0800 Subject: [PATCH] V1.9 增加看门狗 --- APL/APL.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/APL/APL.c b/APL/APL.c index d092127..17efae9 100644 --- a/APL/APL.c +++ b/APL/APL.c @@ -466,9 +466,11 @@ } +extern IWDG_HandleTypeDef hiwdg; uint8_t udp_uwbenable = 1,uwb_state; void APL_Poll(void) { + HAL_IWDG_Refresh(&hiwdg); APLPollTask(); if(uwb_state!=udp_uwbenable) -- Gitblit v1.9.3