mirror of
https://github.com/JasonYANG170/KeyBox.git
synced 2024-11-23 12:06:24 +00:00
V3.1:fix setting bug
This commit is contained in:
parent
7a7b78d70d
commit
c1a73a5afe
|
@ -1310,9 +1310,9 @@ void setting(int select){
|
|||
pid = (SELECT_LIST*)malloc(pidSize * sizeof(SELECT_LIST));
|
||||
pid[0].select =strdup("1min");
|
||||
pid[1].select =strdup("5min");
|
||||
pid[2].select =strdup("10min");
|
||||
pid[3].select =strdup("Never");
|
||||
pid[4].select =strdup("back");
|
||||
// pid[2].select =strdup("10min");//未知,缺少size函数
|
||||
pid[2].select =strdup("Never");
|
||||
pid[2].select =strdup("back");
|
||||
pid_box_width = pid_box_width_trg = u8g2.getStrWidth(pid[pid_select].select) + x * 2;//两边各多2
|
||||
ui_state = S_DISAPPEAR;
|
||||
ui_index = M_PID;
|
||||
|
|
Loading…
Reference in New Issue
Block a user