From adfc7e798b9cbdd022bf8df971843436912a0fe5 Mon Sep 17 00:00:00 2001
From: chen <15335560115@163.com>
Date: 星期日, 20 七月 2025 16:58:30 +0800
Subject: [PATCH] 成功移植g_com_map表逻辑,初步测试能读能写,并且TDOA效果和官方一致

---
 keil/include/components/app/inc/ranging_ccc.h |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diff --git a/keil/include/components/app/inc/ranging_ccc.h b/keil/include/components/app/inc/ranging_ccc.h
index ae56891..5310e61 100644
--- a/keil/include/components/app/inc/ranging_ccc.h
+++ b/keil/include/components/app/inc/ranging_ccc.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.
@@ -43,14 +43,14 @@
 #include "mk_mac.h"
 #include "uwb_api.h"
 #include "ranging_ccc_task.h"
-#include "wsf_timer.h"
+#include "mk_timer_list.h"
 
 /* Main control block of the ranging task */
 struct RANGING_CB_T
 {
     wsfQueue_t msg_queue;
     wsfHandlerId_t handle_id;
-    wsfTimer_t daemon_timer;
+    mk_timer_t daemon_timer;
 };
 
 #ifdef __cplusplus
@@ -77,9 +77,8 @@
 /**
  * @brief Request update ranging keys.
  * @param[in] sts_idx               STS index
- * @param[in] key_type              key type
  */
-void ranging_req_update_keys(uint32_t sts_idx, uint8_t key_type);
+void ranging_req_update_keys(uint32_t sts_idx);
 
 /**
  * @brief Start ranging monitor timer.

--
Gitblit v1.9.3