diff --git a/include/cmp_support.h b/include/cmp_support.h index 2f830414711c3afb8bc0038357c9f7a64a17a3fb..c5247e9a1bf20d2def653e127a691c1c495327c7 100644 --- a/include/cmp_support.h +++ b/include/cmp_support.h @@ -272,7 +272,7 @@ struct fx_cob_par { * @return rounded value */ -#define round_fwd(value, round) ((uint32_t)(value) << (round)) +#define round_fwd(value, round) ((uint32_t)(value) >> (round)) /**