diff options
author | Sergey Vlasov <sigprof@gmail.com> | 2023-02-12 09:14:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-12 17:14:34 +1100 |
commit | 584b7cf801f98d58aefe5a9bbc4a163aba4c1b74 (patch) | |
tree | 16a82839ac645b3adf5775377583fbcbd27a8ed5 /quantum | |
parent | b1f4d49c43e5034b44e34c5ee6e2d9a72195e41d (diff) |
Fix build failures with `OPT = 0` due to inline functions (#19767)
Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/mousekey.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/mousekey.c b/quantum/mousekey.c index 703fb39fa6..df8aa613be 100644 --- a/quantum/mousekey.c +++ b/quantum/mousekey.c @@ -24,7 +24,7 @@ #include "debug.h" #include "mousekey.h" -inline int8_t times_inv_sqrt2(int8_t x) { +static inline int8_t times_inv_sqrt2(int8_t x) { // 181/256 is pretty close to 1/sqrt(2) // 0.70703125 0.707106781 // 1 too small for x=99 and x=198 |