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/modules/hal/panchip/panplat/pan1070/bsp/device/Include/pan_sys_log.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/pan_sys_log.h b/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/pan_sys_log.h
index c965696..99e4c06 100644
--- a/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/pan_sys_log.h
+++ b/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/pan_sys_log.h
@@ -50,8 +50,8 @@
 
     
 #ifdef ASSERT_ON
-#define SYS_ASSERT(expr)    ((expr) ? (void)0u : SYS_AssertError((uint8_t*)__FILE__, __LINE__))
-extern void SYS_AssertError(uint8_t* file, uint32_t line);
+#define SYS_ASSERT(expr)    ((expr) ? (void)0u : SYS_AssertError((uint8_t*)__FILE__, __LINE__, (uint8_t*)(#expr)))
+extern void SYS_AssertError(uint8_t* file, uint32_t line, uint8_t* expr);
 #else
 #define SYS_ASSERT(expr)    ((void)0u)
 #endif

--
Gitblit v1.9.3