Skip to content

Commit

Permalink
Print supported CVT version
Browse files Browse the repository at this point in the history
  • Loading branch information
nwnk committed Mar 9, 2009
1 parent 88205bd commit 7d64600
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions edid-decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,8 @@ detailed_block(unsigned char *x, int in_extension)
if (is_cvt) {
int max_h_pixels = 0;

printf("CVT version %d.%d\n", x[11] & 0xf0 >> 4, x[11] & 0x0f);

max_h_pixels = x[12] & 0x03;
max_h_pixels <<= 8;
max_h_pixels |= x[13];
Expand Down

0 comments on commit 7d64600

Please sign in to comment.