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_simple.h |   14 +++-----------
 1 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/keil/include/components/app/inc/ranging_simple.h b/keil/include/components/app/inc/ranging_simple.h
index b21d43f..b22cebe 100644
--- a/keil/include/components/app/inc/ranging_simple.h
+++ b/keil/include/components/app/inc/ranging_simple.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 RANGING_H_
 #define RANGING_H_
 #include "ranging_simple_task.h"
-#include "wsf_timer.h"
+#include "mk_timer_list.h"
 #include "mk_mac.h"
 #include "uwb_api.h"
 
@@ -152,7 +152,7 @@
 {
     wsfQueue_t msg_queue;
     wsfHandlerId_t handle_id;
-    wsfTimer_t daemon_timer;
+    mk_timer_t daemon_timer;
 };
 
 #ifdef __cplusplus
@@ -242,14 +242,6 @@
  * @return number of responder
  */
 uint8_t ranging_responder_num_get(void);
-
-/**
- * @brief Calculate timestamp difference.
- * @param[in] ts_a          Ranging timestamp a
- * @param[in] ts_b          Ranging timestamp b
- * @return ts_a - ts_b
- */
-int64_t ranging_timestamp_diff(int64_t ts_a, int64_t ts_b);
 
 /**
  * @brief Calculate ranging Tround.

--
Gitblit v1.9.3