summaryrefslogtreecommitdiff
path: root/wctdm24xxp/base.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-11 20:51:50 +0000
committerkpfleming <kpfleming@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2008-01-11 20:51:50 +0000
commit78628ea0f9ec7986bb459b0df00ca45c6e18c1d3 (patch)
tree1ab85928a29df0bd1c2b0a7cdd570cb0f29681e0 /wctdm24xxp/base.c
parent4a0d5b6ff3cda79cf8c0f7e200735cc896d946a6 (diff)
remove some macros that are no longer needed
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.4@3665 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm24xxp/base.c')
-rw-r--r--wctdm24xxp/base.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/wctdm24xxp/base.c b/wctdm24xxp/base.c
index 4630c6e..6a94433 100644
--- a/wctdm24xxp/base.c
+++ b/wctdm24xxp/base.c
@@ -1523,9 +1523,12 @@ static inline void wctdm_vpm_check(struct wctdm *wc, int x)
}
}
-static int wctdm_echocan(struct zt_chan *chan, int eclen)
+#include "adt_lec.c"
+
+static int wctdm_echocan_with_params(struct zt_chan *chan, struct zt_echocanparams *ecp, struct zt_echocanparam *p)
{
struct wctdm *wc = chan->pvt;
+
if (wc->vpm) {
int channel;
int unit;
@@ -3100,7 +3103,7 @@ static int wctdm_initialize(struct wctdm *wc)
wc->span.watchdog = wctdm_watchdog;
wc->span.dacs= wctdm_dacs;
#ifdef VPM_SUPPORT
- wc->span.echocan = wctdm_echocan;
+ wc->span.echocan_with_params = wctdm_echocan_with_params;
#endif
init_waitqueue_head(&wc->span.maintq);