From 32a960be044073988de54afccfa7af686ccc3b3a Mon Sep 17 00:00:00 2001 From: sunbeam Date: Mon, 2 Dec 2024 16:50:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E5=88=A0=E9=99=A4static?= =?UTF-8?q?=E4=BF=AE=E9=A5=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- firmware/src/TouchPanel/TouchPanel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/src/TouchPanel/TouchPanel.c b/firmware/src/TouchPanel/TouchPanel.c index fa1dee1..fded4c5 100644 --- a/firmware/src/TouchPanel/TouchPanel.c +++ b/firmware/src/TouchPanel/TouchPanel.c @@ -589,8 +589,8 @@ static PanelPress_LevelType TouchPanel_PressCheck(void) // static uint16 ForceMcount = 0; // static uint16 ForceLcount = 0; - uint16 tempForcePress = 0xffff; - uint16 tempForceRelease = 0xffff; + static uint16 tempForcePress = 0xffff; + static uint16 tempForceRelease = 0xffff; uint16 RawData = 0; uint16 temp_RawData = 0;