diff options
-rwxr-xr-x | mec3.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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))) { |