From 5102fff8a13c0319d8125a51d3d2354e7aacdcea Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期四, 31 七月 2025 16:40:06 +0800 Subject: [PATCH] 修改为2HZ发poll包,修改second task从原来2s一次为1s一次 --- keil/include/components/app/inc/app.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keil/include/components/app/inc/app.h b/keil/include/components/app/inc/app.h index 504cade..5f21fd8 100644 --- a/keil/include/components/app/inc/app.h +++ b/keil/include/components/app/inc/app.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2023 Beijing Hanwei Innovation Technology Ltd. Co. and + * Copyright (c) 2019-2025 Beijing Hanwei Innovation Technology Ltd. Co. and * its subsidiaries and affiliates (collectly called MKSEMI). * * All rights reserved. @@ -41,7 +41,7 @@ #ifndef APP_H_ #define APP_H_ #include "app_task.h" -#include "wsf_timer.h" +#include "mk_timer_list.h" #include "wsf_buf.h" /* Main control block of the app task */ @@ -49,7 +49,7 @@ { wsfQueue_t msg_queue; wsfHandlerId_t handle_id; - wsfTimer_t app_timer[APP_TIMER_MAX]; + mk_timer_t app_timer[APP_TIMER_MAX]; }; #ifdef __cplusplus -- Gitblit v1.9.3