Skip to content

Commit

Permalink
Fix swapped h/v sync decode.
Browse files Browse the repository at this point in the history
  • Loading branch information
anholt committed Aug 8, 2007
1 parent ec1931f commit 5711105
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edid-decode.c
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ detailed_block(unsigned char *x)
syncmethod = "";
break;
}
phsync = (x[17] & (1 << 2)) ? '+' : '-';
pvsync = (x[17] & (1 << 1)) ? '+' : '-';
pvsync = (x[17] & (1 << 2)) ? '+' : '-';
phsync = (x[17] & (1 << 1)) ? '+' : '-';

printf("Detailed mode: Clock %.3f MHz, %d mm x %d mm\n"
" %4d %4d %4d %4d hborder %d\n"
Expand Down

0 comments on commit 5711105

Please sign in to comment.