This commit is contained in:
Glz
2024-06-18 16:21:19 +08:00
parent 3605e98cec
commit 57e132c535
8 changed files with 85 additions and 19 deletions

View File

@@ -55,6 +55,7 @@ static void Loop()
ips200_show_int(90, 18 + 74, cross_type, 1);
ips200_show_int(90, 18 + 92, circle_type, 1);
ips200_show_int(90, 18 + 110, s_type, 1);
ips200_show_float(90, 18 + 128, curvature, 4, 5);
}
/**
* @brief 页面事件

View File

@@ -171,10 +171,10 @@ void Show_Marked_Image(void)
uint16_t mix_y = START_Y + (uint16_t)(rptsn[i][0] * vertical_zoom_rate);
// 近线数组显示
if (i < pts_inv_l_count) {
if (i < pts_resample_left_count) {
ips200_draw_rect(l_x, l_y, l_x + 2, l_y + 1, RGB565_RED);
}
if (i < pts_inv_r_count) {
if (i < pts_resample_right_count) {
ips200_draw_rect(r_x - 2, r_y, r_x, r_y + 1, RGB565_BLUE);
}