summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@x-pk2.(none)>2011-06-09 14:07:34 +0800
committerroot <root@x-pk2.(none)>2011-06-09 14:07:34 +0800
commitecac080e061b4165ebc23c36ab92f3a076f82006 (patch)
treeb2eb2153dfe9f50f93c71dfac2e30db6bd4714eb
parent92a075defb8aa69ad766067b23bdd3f0db6ca0bb (diff)
parentf2519df274e060943a44cfa093a086cee3b24309 (diff)
Merge branch 'master' of tinderbox:/git/testedid
-rwxr-xr-x[-rw-r--r--]testedid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testedid.c b/testedid.c
index 1e378a3..7b33aa3 100644..100755
--- a/testedid.c
+++ b/testedid.c
@@ -275,7 +275,7 @@ void analizeedid(char edid[])
{
if(es & 0x01)
{
- memcpy(&curestmode[escount],&estmode[i],sizeof(struct modeinfo));
+ memcpy(&curestmode[escount],&estmode[i+8],sizeof(struct modeinfo));
escount++;
}
es = es >> 1;
@@ -419,7 +419,7 @@ void analizeedid(char edid[])
Vblank = vdisp.value;
freq = pixclk.clk*10000.0/(Hdisp+Hblank)/(Vdisp+Vblank);
//printf("Vblank: %d\n",vdisp.value);
- printf("\tDetailTiming:\n\t\t%dx%d @ %.2f %d %d %d\n",Hdisp,Vdisp,freq,pixclk.clk*10000,Hdisp+Hblank,Vdisp+Vblank);
+ printf("\tDetailTiming:\n\t\t%dx%d @ %.2f %d %d %d\n",Hdisp,Vdisp,freq,pixclk.clk*10,Hdisp+Hblank,Vdisp+Vblank);
union
{
struct