From 0b74669d781b58ef97e3b6456d8a33e300a17b1a Mon Sep 17 00:00:00 2001 From: hadeshyp Date: Fri, 30 Nov 2012 16:56:26 +0000 Subject: [PATCH] *** empty log message *** --- cts/htdocs/thresh/tdc.htm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cts/htdocs/thresh/tdc.htm b/cts/htdocs/thresh/tdc.htm index f6ad950..239c5b5 100644 --- a/cts/htdocs/thresh/tdc.htm +++ b/cts/htdocs/thresh/tdc.htm @@ -174,7 +174,12 @@ function updateregs(data) { o += ((val>>20)/16).toFixed(1); } else if(i==1) { - o += (val&0xFF).toString(16)+"
"+((val&0xff00)>>8)+"
"+(val>>16 & 1); + o += (val&0xFF).toString(16)+"
"+((val&0xff00)>>8)+"
"; + if((val>>16 & 1)) + o += ""; + o += (val>>16 & 1); + if((val>>16 & 1)) + o += ""; } else if(i==2) { o += (val&0x7FF)+"
"+((val&0x7ff0000)>>16); -- 2.43.0