From 23480ab197150979f4505501a1abe8a64796fb18 Mon Sep 17 00:00:00 2001 From: chen <15335560115@163.com> Date: 星期五, 04 七月 2025 18:37:07 +0800 Subject: [PATCH] 初步调好发包,解决因为uwb未open导致txlen不断溢出重启问题,两边sts配置初步调好 --- keil/include/components/app/src/app_task.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/keil/include/components/app/src/app_task.c b/keil/include/components/app/src/app_task.c index 05bdfe2..bb936e6 100644 --- a/keil/include/components/app/src/app_task.c +++ b/keil/include/components/app/src/app_task.c @@ -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,6 +41,8 @@ #include "mk_common.h" #include "app.h" +#ifdef WSF_EN + __WEAK void app_process_handle(uint8_t msg_id, const void *param) { } @@ -78,7 +80,9 @@ { if (event & APP_BUTTON1_EVT) { - app_timer_set(APP_DEBOUNCE_TIMER1, 20, WSF_TIMER_ONE_SHOT); + app_timer_set(APP_DEBOUNCE_TIMER1, 20, MK_TIMER_ONE_SHOT); } } } + +#endif -- Gitblit v1.9.3