From 39bdacd32a751913443b670ec5c8216766f73d90 Mon Sep 17 00:00:00 2001
From: chen <15335560115@163.com>
Date: 星期二, 08 七月 2025 16:54:10 +0800
Subject: [PATCH] 成功加入滤波版本与基站测试成功

---
 keil/include/drivers/mk_dual_timer.h |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/keil/include/drivers/mk_dual_timer.h b/keil/include/drivers/mk_dual_timer.h
index ef083af..81cd07f 100644
--- a/keil/include/drivers/mk_dual_timer.h
+++ b/keil/include/drivers/mk_dual_timer.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.
@@ -207,7 +207,11 @@
  * @param[in] id                 Dual timer ID
  * @return Current value of the decrementing counter
  */
+#if defined(__ICCARM__)
 uint32_t dual_timer_get(enum DUAL_TIMER_DEV_T id);
+#else
+uint32_t RAM_FUNC dual_timer_get(enum DUAL_TIMER_DEV_T id);
+#endif
 
 /**
  * @brief DUAL TIMERx work at One-shot mode, usually disable interrupt

--
Gitblit v1.9.3