Skip to content
Snippets Groups Projects
Commit 7c41855c authored by Dominik Loidolt's avatar Dominik Loidolt
Browse files

fix bug in round_fwd macro

parent ac3ee763
No related branches found
No related tags found
1 merge request!14fix bug in round_fwd macro
...@@ -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))
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment