perf(MCU课设): 微调逻辑,提高性能

This commit is contained in:
iridiumR 2022-06-08 00:43:16 +08:00
parent 5a78565934
commit 8bc5f2e635

View file

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