summaryrefslogtreecommitdiff
path: root/mec3-float.h
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-13 20:47:42 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2005-01-13 20:47:42 +0000
commitda09e007bbcb0c7df93f3b7ba3cff09121f1aa36 (patch)
tree17858c74bc9e33ec76caf3ff763c58904f0532ab /mec3-float.h
parentf940d9e7d8f1992c5b7469501c49ced5cc9a467a (diff)
Fix float version just in case
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@549 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'mec3-float.h')
-rwxr-xr-xmec3-float.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mec3-float.h b/mec3-float.h
index 12c40b4..b5e0109 100755
--- a/mec3-float.h
+++ b/mec3-float.h
@@ -158,7 +158,7 @@ static inline short echo_can_update(echo_can_state_t *ec, short iref, short isig
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 * MAX_ATTENUATION > ec->ref.max)) {