Skip to content

Commit

Permalink
Decode the ranges section.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Jackson committed Dec 11, 2006
1 parent d5a95c8 commit ae0de5a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion edid-decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,12 @@ detailed_block(unsigned char *x)
return 1;
case 0xFD:
has_range_descriptor = 1;
printf("Monitor ranges\n");
printf("Monitor ranges: %d-%dHZ vertical, %d-%dkHz horizontal",
x[5], x[6], x[7], x[8]);
if (x[9] != 255)
printf(", max dotclock %dMHz\n", x[9] * 10);
else
printf("\n");
return 1;
case 0xFE:
printf("ASCII string: %s", x+5);
Expand Down

0 comments on commit ae0de5a

Please sign in to comment.