summaryrefslogtreecommitdiff
path: root/mec3.h
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-13 20:47:03 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-13 20:47:03 +0000
commitf940d9e7d8f1992c5b7469501c49ced5cc9a467a (patch)
tree56c544f9193a9bdd12725319c628d738cb4ae534 /mec3.h
parentbac68d2af34466cbaf0473684c47bb25dd44fd9f (diff)
Fix typo in mec3
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@548 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'mec3.h')
-rwxr-xr-xmec3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mec3.h b/mec3.h
index 3df3f50..e28c66b 100755
--- a/mec3.h
+++ b/mec3.h
@@ -150,7 +150,7 @@ static inline short echo_can_update(echo_can_state_t *ec, short ref, short sig)
ec->hcntr--;
/* Store error */
- buf_add(&ec->e, sig, ec->pos, ec->taps);
+ buf_add(&ec->e, u, ec->pos, ec->taps);
if ((ec->ref.max > MIN_TX_ENERGY) &&
(ec->sig.max > MIN_RX_ENERGY) &&
(ec->e.max > (ec->ref.max >> MAX_ATTENUATION_SHIFT))) {