From 14f0e442ad3f1d8ca484c3dc93e58e99d99822d5 Mon Sep 17 00:00:00 2001 From: Wang_Weigen Date: Tue, 15 Nov 2022 14:09:03 +0800 Subject: [PATCH] fix compile error --- .../edu-riscv64/third_party_driver/touch/connect_touch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/touch/connect_touch.c b/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/touch/connect_touch.c index 227cc9dc8..2f95c371e 100644 --- a/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/touch/connect_touch.c +++ b/Ubiquitous/XiZi_IIoT/board/edu-riscv64/third_party_driver/touch/connect_touch.c @@ -38,7 +38,7 @@ struct Touch_event { }; #define DEFAULT_NUM 0x0D - +#define TOUCH_ADDRESS 0x44 volatile bool SemReleaseFlag = 0; static struct Bus* i2c_bus = NONE; @@ -77,7 +77,7 @@ static x_err_t ReadRegs(struct HardwareDev* dev, uint8 len, uint8* buf) // not used in polling mode static void touch_pin_irqhandler(void* arg) { - KPrintf("int hdr working.\n"); + // KPrintf("int hdr working.\n"); if (!SemReleaseFlag) { KSemaphoreAbandon(touch_sem);