From ae079c1fc5d990ba55714d4b3a51b19f96edaec4 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 24 四月 2025 16:01:43 +0800 Subject: [PATCH] 改为中断来低电平触发发送当前扫描数据,3s内扫描不到的会退出,串口来55 AA 75 70 64 61 74 65,进入升级模式 --- 01_SDK/nimble/os/freertos/include/portable.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/01_SDK/nimble/os/freertos/include/portable.h b/01_SDK/nimble/os/freertos/include/portable.h index 1c424e7..0dfd132 100644 --- a/01_SDK/nimble/os/freertos/include/portable.h +++ b/01_SDK/nimble/os/freertos/include/portable.h @@ -229,13 +229,11 @@ uint32_t ulStackDepth ) PRIVILEGED_FUNCTION; #endif -#if ( configUSE_TICKLESS_IDLE == 1 ) #define LPTMR_CURR_CNT_VAL_REG (0x50020014) static inline uint32_t lp_get_curr_tmr_cnt(void) { return (*(volatile uint32_t *)LPTMR_CURR_CNT_VAL_REG); } -#endif /* *INDENT-OFF* */ #ifdef __cplusplus -- Gitblit v1.9.3