Replace 'const float &' with 'const_float_t' (#21505)
This commit is contained in:
@@ -35,7 +35,7 @@ extern float segments_per_second;
|
||||
L1_2 = sq(float(L1)), L1_2_2 = 2.0 * L1_2,
|
||||
L2_2 = sq(float(L2));
|
||||
|
||||
void forward_kinematics(const float &a, const float &b, const float &c);
|
||||
void forward_kinematics(const_float_t a, const_float_t b, const_float_t c);
|
||||
void home_TPARA();
|
||||
|
||||
#else
|
||||
@@ -44,7 +44,7 @@ extern float segments_per_second;
|
||||
L1_2 = sq(float(L1)), L1_2_2 = 2.0 * L1_2,
|
||||
L2_2 = sq(float(L2));
|
||||
|
||||
void forward_kinematics(const float &a, const float &b);
|
||||
void forward_kinematics(const_float_t a, const_float_t b);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user