summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorSergey Vlasov <sigprof@gmail.com>2023-07-03 21:36:19 +0300
committerGitHub <noreply@github.com>2023-07-03 11:36:19 -0700
commit4a71f5f602be5edac10a223d34d74a7bf1de5cd4 (patch)
tree80c7b9d78d906ce3f36c91c760a24ea637464893 /keyboards
parent1ce5cf480c777e7060eb20828b57f959e901c750 (diff)
planck/rev7: Fix build without AUDIO_ENABLE (#21408)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/planck/rev7/matrix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyboards/planck/rev7/matrix.c b/keyboards/planck/rev7/matrix.c
index df1e627e83..c89c399a40 100644
--- a/keyboards/planck/rev7/matrix.c
+++ b/keyboards/planck/rev7/matrix.c
@@ -19,6 +19,7 @@
#include "hal_pal.h"
#include "hal_pal_lld.h"
#include "quantum.h"
+#include <math.h>
// STM32-specific watchdog config calculations
// timeout = 31.25us * PR * (RL + 1)