优化显示列表

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2022-08-09 23:43:24 +08:00
parent 4f7d47edbd
commit f54fd763c4
12 changed files with 808 additions and 898 deletions
+4 -4
View File
@@ -141,7 +141,7 @@ int SHOW_MENU(menu *m,int encoder,char button,char lan)
list++;
}
str[c]='\0';
OLED_Str(0, 16*b, 16, str, 1);
OLED_Str(0, 16*b, 16, str,0, 1);
c=0;
list++;
@@ -231,7 +231,7 @@ void mymain()
case 0:
//启动跳转模式
//用于读取系统配置后跳转到其他程序
//OLED_Str_list(0,0,8,"123\n456\n789",1,2,1);
mode=1;
break;
case 1:
@@ -246,12 +246,12 @@ void mymain()
{
da();
}
OLED_Str(0,0,8,moser_buff,1);
OLED_Str(0,0,8,moser_buff,0,1);
fps_++;
sprintf(str,"FPS:%d",fps);
OLED_Str(0,56,8,str,1);
OLED_Str(0,56,8,str,0,1);
if(B1.code==255)
{