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

Merge branch 'optimise' into 'master'

fix bug in round_fwd macro

See merge request !14
parents ac3ee763 7c41855c
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 {
* @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