From 035ecb85c3513be2b6ab5c515db082cb7fee8f97 Mon Sep 17 00:00:00 2001 From: WXK <287788329@qq.com> Date: 星期四, 22 五月 2025 18:11:06 +0800 Subject: [PATCH] 修改bug,io改为不拉 --- 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