From: d15521469561 Date: Wed, 24 May 2023 10:22:21 +0000 (+0800) Subject: 修改tp打印 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=748a9f63ce15685a36100d72a6759a4093e56840;p=mirrors%2FASR1603_G5.git 修改tp打印 --- diff --git a/2.sdk/Helios_SDK/services/microPython/ports/quectel/core/source/tp_cst816.c b/2.sdk/Helios_SDK/services/microPython/ports/quectel/core/source/tp_cst816.c index 3dee0e6f..274b89d1 100644 --- a/2.sdk/Helios_SDK/services/microPython/ports/quectel/core/source/tp_cst816.c +++ b/2.sdk/Helios_SDK/services/microPython/ports/quectel/core/source/tp_cst816.c @@ -452,9 +452,10 @@ static TP_STATE_E tp_get_silde_state(uint16_t x1, uint16_t y1, uint16_t x2, uint // CST816_LOG("down slide v\n"); TP_STATE_PUSH(TP_DOWN_SLIDE); } + if(x1 == x2 && y1 == y2) //点击 { - // CST816_LOG("click !\n"); + CST816_LOG("click !\n"); if(85