Skip to content
Snippets Groups Projects

fix bug in round_fwd macro

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -272,7 +272,7 @@ struct fx_cob_par {
@@ -272,7 +272,7 @@ struct fx_cob_par {
* @return rounded value
* @return rounded value
*/
*/
#define round_fwd(value, round) ((uint32_t)(value) << (round))
#define round_fwd(value, round) ((uint32_t)(value) >> (round))
/**
/**
Loading