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/algo/src/kf/MK8000_kf_top.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/keil/include/components/algo/src/kf/MK8000_kf_top.c b/keil/include/components/algo/src/kf/MK8000_kf_top.c
index e861f91..1404ce4 100644
--- a/keil/include/components/algo/src/kf/MK8000_kf_top.c
+++ b/keil/include/components/algo/src/kf/MK8000_kf_top.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.
@@ -114,7 +114,7 @@
         return 0;
     }
     uint16_t id = get_addr_index(mac_addr, (uint8_t)data_type);
-    uint32_t now = sys_tick_ms();
+    uint32_t now = rtc_ms();
     if (addr_arr[id].elapsed_time == 0 || (now - addr_arr[id].elapsed_time) > kf_timeout_ms)
     {
         do_init = 1;

--
Gitblit v1.9.3