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);