summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root@sunyi-pc.sh.intel.com>2011-05-30 17:07:26 +0800
committerroot <root@sunyi-pc.sh.intel.com>2011-05-30 17:07:26 +0800
commitf2519df274e060943a44cfa093a086cee3b24309 (patch)
treeb5a97ee54def84b085444e92b5fd4fd4e694e243
parent12a54cd3aca7e01033b74ed208f215a6cbcf2c88 (diff)
EstablishedTiming modified to 'i+8'
-rwxr-xr-x[-rw-r--r--]testedid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testedid.c b/testedid.c
index 5bb0612..1a6ff3d 100644..100755
--- a/testedid.c
+++ b/testedid.c
@@ -262,7 +262,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;
@@ -406,7 +406,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