From 5ccad649b6fbb917cecf9530ba64814459dfe565 Mon Sep 17 00:00:00 2001 From: jim Date: Wed, 22 Dec 2004 04:44:26 +0000 Subject: Changed out VHDL code so that interrupt handling would be much more efficient and fully handle all functions git-svn-id: http://svn.digium.com/svn/zaptel/trunk@513 5390a7c7-147a-4af0-8ec9-7488f05a26cb --- ztcfg.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) (limited to 'ztcfg.c') diff --git a/ztcfg.c b/ztcfg.c index f780a4a..52a09a1 100755 --- a/ztcfg.c +++ b/ztcfg.c @@ -806,7 +806,7 @@ int cor_thresh(char *keyword, char *args) if (res != 1) { error("Invalid value '%s', should be a number > 0.\n", realargs[0]); } - corthresh = x; + corthresh = x + 1; return 0; } @@ -881,11 +881,13 @@ static int rad_chanconfig(char *keyword, char *args) return -1; for (x=1;x