Commit db054c9a authored by Leonardo Solis's avatar Leonardo Solis
Browse files

#25, added inline attribute to map_angle_<>() used in Krnl_GA

parent 0fd8899e
...@@ -188,7 +188,7 @@ pipe int chan_IGLArbiter_Off __attribute__((xcl_reqd_pipe_depth(PIPE_DEPT ...@@ -188,7 +188,7 @@ pipe int chan_IGLArbiter_Off __attribute__((xcl_reqd_pipe_depth(PIPE_DEPT
// by adding/subtracting n*ang_max to/from it. // by adding/subtracting n*ang_max to/from it.
// Originally from: searchoptimum.c // Originally from: searchoptimum.c
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
__attribute__((always_inline))
float map_angle_180(float angle) float map_angle_180(float angle)
{ {
float x = angle; float x = angle;
...@@ -201,6 +201,7 @@ float map_angle_180(float angle) ...@@ -201,6 +201,7 @@ float map_angle_180(float angle)
return x; return x;
} }
__attribute__((always_inline))
float map_angle_360(float angle) float map_angle_360(float angle)
{ {
float x = angle; float x = angle;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment