From 6e1364f5e3d3ac5f5e97fdac3ae257be11e4d71a Mon Sep 17 00:00:00 2001 From: Zhangwen <13970730+mkc46119@user.noreply.gitee.com> Date: Fri, 7 Mar 2025 13:41:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E6=8C=89=E9=94=AE=E6=8E=A7=E5=88=B6?= =?UTF-8?q?=E5=8A=A0=E5=87=8F=E9=9F=B3=E9=87=8Fbug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/app/task_keystatus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/app/task_keystatus.c b/source/app/task_keystatus.c index c3e34e0..5f62a50 100644 --- a/source/app/task_keystatus.c +++ b/source/app/task_keystatus.c @@ -80,7 +80,7 @@ void L3_task_keystatus_handler(S_TASK_KEYSTATUS *s) } } } - if (L2_ReadKey1() == Key_Down) + else if (L2_ReadKey1() == Key_Down) { if (s->Key1_handled == 0) { @@ -88,7 +88,7 @@ void L3_task_keystatus_handler(S_TASK_KEYSTATUS *s) L2_WT2605B_VioceUp(); // 音量增加 } } - if (L2_ReadKey2() == Key_Down) + else if (L2_ReadKey2() == Key_Down) { if (s->Key2_handled == 0) {