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/PanSeries.h |   11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/PanSeries.h b/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/PanSeries.h
index 398447a..80c75f9 100644
--- a/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/PanSeries.h
+++ b/01_SDK/modules/hal/panchip/panplat/pan1070/bsp/device/Include/PanSeries.h
@@ -10034,15 +10034,14 @@
 #define NULL           (0)      ///< NULL pointer
 #endif
 
-#ifndef __ZEPHYR__
+#ifndef TRUE
 #define TRUE           (1)      ///< Boolean true, define to use in API parameters or return value
+#endif
+
+#ifndef FALSE
 #define FALSE          (0)      ///< Boolean false, define to use in API parameters or return value
 #endif
 
-/*
-#define ENABLE         (1)      ///< Enable, define to use in API parameters
-#define DISABLE        (0)      ///< Disable, define to use in API parameters
-*/
 /* Define one bit mask */
 #define BIT0     (0x00000001UL)       ///< Bit 0 mask of an 32 bit integer
 #define BIT1     (0x00000002UL)       ///< Bit 1 mask of an 32 bit integer
@@ -10077,7 +10076,7 @@
 #define BIT30    (0x40000000UL)       ///< Bit 30 mask of an 32 bit integer
 #define BIT31    (0x80000000UL)       ///< Bit 31 mask of an 32 bit integer
 
-#ifndef __ZEPHYR__
+#ifndef BIT
 #define BIT(x)   (0x1UL << (x))
 #endif
 

--
Gitblit v1.9.3