Skip to content

Commit

Permalink
Merge pull request #336 from Chetana2791/crosshair_devel
Browse files Browse the repository at this point in the history
Fixing crosshair scan output for top and bottom right fields
  • Loading branch information
kelvin-cao authored Apr 19, 2024
2 parents 27dbfd7 + 144b05c commit 839b12d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/diag.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 839b12d

Please sign in to comment.