From 45464d677013828fe2c51474fa788f3acb2ce7b6 Mon Sep 17 00:00:00 2001 From: Chetana Date: Thu, 18 Apr 2024 15:25:15 -0700 Subject: [PATCH] correcting the crosshair scan output message for top right bottom right scans --- cli/diag.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/diag.c b/cli/diag.c index 28ab9853..97cf1115 100644 --- a/cli/diag.c +++ b/cli/diag.c @@ -838,9 +838,9 @@ static void crosshair_csv(FILE *f, struct switchtec_diag_cross_hair *ch, fprintf(f, "top_left_limit, %d, %d\n", ch_left, ch->eye_top_left_lim); fprintf(f, "bottom_left_limit, %d, %d\n", ch_left, ch->eye_bot_left_lim); - fprintf(f, "top_left_limit, %d, %d\n", ch_right, + fprintf(f, "top_right_limit, %d, %d\n", ch_right, ch->eye_top_right_lim); - fprintf(f, "bottom_left_limit, %d, %d\n", ch_right, + fprintf(f, "bottom_right_limit, %d, %d\n", ch_right, ch->eye_bot_right_lim); fprintf(f, "interval_ms, 200\n"); fprintf(f, "w2h, %d\n", crosshair_w2h(ch));