From 8bc5f2e6354526fdf30aaeb45f3254fc110691b8 Mon Sep 17 00:00:00 2001 From: iridiumR Date: Wed, 8 Jun 2022 00:43:16 +0800 Subject: [PATCH] =?UTF-8?q?perf(MCU=E8=AF=BE=E8=AE=BE):=20=E5=BE=AE?= =?UTF-8?q?=E8=B0=83=E9=80=BB=E8=BE=91=EF=BC=8C=E6=8F=90=E9=AB=98=E6=80=A7?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- MCU/MCU_REAL_FINAL/menu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MCU/MCU_REAL_FINAL/menu.c b/MCU/MCU_REAL_FINAL/menu.c index 3a9a366..d9c81e3 100644 --- a/MCU/MCU_REAL_FINAL/menu.c +++ b/MCU/MCU_REAL_FINAL/menu.c @@ -105,13 +105,13 @@ void m_block(struct _menu* this) drawBLOCKSCORE(); blockInit(); } - //重置 + //返回 if(opr == confirm) { opr = idle; + clear(); blockDestroy(); NOW = &M_MAINMENU; - clear(); return; } if(opr == left) @@ -185,7 +185,7 @@ void m_about(struct _menu* this) NOW = &M_MAINMENU; //转向下一菜单 clear(); //若满足隐藏条件,清空排行榜 - if(local[2] >= 10 && local[3] >= 10) + if(local[2] >= 30 && local[3] >= 30) { IapProgramByte(IAP_ADDRESS + 0, 0); IapProgramByte(IAP_ADDRESS + 1, 0);