We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 816f3e1 commit 65bc8f0Copy full SHA for 65bc8f0
2 files changed
src/FastAccelStepper.h
@@ -1,7 +1,6 @@
1
#ifndef FASTACCELSTEPPER_H
2
#define FASTACCELSTEPPER_H
3
#include <stdint.h>
4
-#include "Log2Representation.h"
5
#include "fas_arch/common.h"
6
7
// # FastAccelStepper
src/Log2Representation.h
@@ -27,7 +27,7 @@ uint32_t log2_to_u32(pmf_logarithmic x);
27
#define log2_rsqrt(x) (-(x) / 2)
28
#define log2_rsquare(x) log2_reciprocal(log2_square(x))
29
30
-inline pmf_logarithmic log2_pow_div_3(pmf_logarithmic x) {
+static inline pmf_logarithmic log2_pow_div_3(pmf_logarithmic x) {
31
// 1/3 ~ (1/4+1/16+1/64+1/256+1/1024+1/4096+1/16384)
32
x /= 2; // x/2
33
x += x / 4; // x/2 + x/8
0 commit comments