From e328ebef585cea2351b37117b2d5ac4978ecd3c0 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期二, 11 二月 2025 14:57:23 +0800 Subject: [PATCH] 1111111 --- keil/include/components/wsf/sources/platform/pal_sys.c | 23 ++++------------------- 1 files changed, 4 insertions(+), 19 deletions(-) diff --git a/keil/include/components/wsf/sources/platform/pal_sys.c b/keil/include/components/wsf/sources/platform/pal_sys.c index 0fd555e..145baa2 100644 --- a/keil/include/components/wsf/sources/platform/pal_sys.c +++ b/keil/include/components/wsf/sources/platform/pal_sys.c @@ -51,7 +51,7 @@ /*! \brief Trap enabled flag. */ static volatile bool_t PalSysAssertTrapEnable; -static volatile uint32_t palSysBusyCount; +/// static volatile uint32_t palSysBusyCount; /************************************************************************************************** Functions @@ -86,7 +86,7 @@ { palSysAssertCount = 0; PalSysAssertTrapEnable = TRUE; - palSysBusyCount = 0; + /// palSysBusyCount = 0; #ifdef DEBUG /* Reset free memory. */ @@ -156,6 +156,7 @@ __WFI(); } +#if 0 /*************************************************************************************************/ /*! * \brief Check if system is busy. @@ -200,20 +201,4 @@ } PalExitCs(lock); } - -/*************************************************************************************************/ -/*! - * \brief Get the Systick elapse time in current tick period. - * - * \return Elapse time in current tick period. - */ -/*************************************************************************************************/ -uint32_t PalSysTickElapse(void) -{ - return sys_tick_elapse_ms(); -} - -uint32_t PalSysTickGet(void) -{ - return sys_tick_get(); -} +#endif -- Gitblit v1.9.3