fix: 修复蜂鸣器bug及日常更新

This commit is contained in:
2024-03-03 19:23:21 +08:00
parent f1c0b63d21
commit ecfd586ca4
8 changed files with 28 additions and 18 deletions

View File

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