perf(MCU课设): 微调菜单逻辑

This commit is contained in:
iridiumR 2022-06-08 00:46:10 +08:00
parent 8bc5f2e635
commit 25c07e4a0d

View file

@ -67,6 +67,8 @@ void m_mainmenu(struct _menu* this)
{
if(local[0] > 1)
local[0]--;
if(local[0] == 0)
local[0] = 3;
opr = idle;
drawMAINMENU(local[0]);