summaryrefslogtreecommitdiff
path: root/mec3-float.h
diff options
context:
space:
mode:
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)) {