From acca0857c957ede2b5997b34f5ceb0562c164f7b Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Sat, 6 Apr 2019 15:36:37 +0200 Subject: [PATCH] reduce maximum TDC buffer size --- web/htdocs/tdc/tdc.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/htdocs/tdc/tdc.htm b/web/htdocs/tdc/tdc.htm index 2027822..de6768c 100644 --- a/web/htdocs/tdc/tdc.htm +++ b/web/htdocs/tdc/tdc.htm @@ -368,8 +368,8 @@ function updatectrlregs(data) { if((val&0xFF)==0x0) o += "style =\"background-color: #fecccb;\" "; o += "maxlength=\"4\" value=\""+val+"\">"; - if((val&0xFF)>0x7c) - o += "
The maximium buffer size may be 124
"; + if((val&0xFF)>0x7b) + o += "
The maximium buffer size may be 123
"; } else if(i==5) { o += "