From 9deb904522fdd66dee200dfd8defe94ff615f793 Mon Sep 17 00:00:00 2001 From: sunbeam Date: Fri, 22 Mar 2024 10:20:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=B0=E5=BF=86=E6=8C=89?= =?UTF-8?q?=E9=94=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BCZT/user/appTask.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/BCZT/user/appTask.c b/BCZT/user/appTask.c index 826cde2..a819eb9 100644 --- a/BCZT/user/appTask.c +++ b/BCZT/user/appTask.c @@ -287,7 +287,11 @@ void KeyReleaseLogic(uint8_t keyid) default: break; } - flagMotorMemoryKeyStart = 0; + if (keyid!=KEYID_MM) + { + flagMotorMemoryKeyStart = 0; + } + }