fix: 修复蜂鸣器bug及日常更新
This commit is contained in:
@@ -33,7 +33,7 @@ static void Setup()
|
||||
else if (Param_Data[i].type == EFLOAT)
|
||||
ips200_show_float(50, i * 18 + 2, *((float *)(Param_Data[i].p_data)), 4, 5);
|
||||
}
|
||||
ips200_show_int(50, (DATA_IN_FLASH_NUM-1)* 18 + 2, index_power, 5);
|
||||
ips200_show_int(100, 2, index_power, 5);
|
||||
|
||||
}
|
||||
|
||||
@@ -108,7 +108,7 @@ static void Event(page_event event)
|
||||
if (index_power > 2) {
|
||||
index_power = -2;
|
||||
}
|
||||
ips200_show_int(50, (DATA_NUM-1)* 18 + 2, index_power, 5);
|
||||
ips200_show_int(100, 2, index_power, 5);
|
||||
} else if (page_event_press_long == event) {
|
||||
event_flag = 0;
|
||||
Print_Curser(Curser, Curser_Last, RGB565_PURPLE);
|
||||
|
||||
Reference in New Issue
Block a user