Browse Source

planck/rev7: Fix build without AUDIO_ENABLE (#21408)

Sergey Vlasov 3 years ago
parent
commit
4a71f5f602
1 changed files with 1 additions and 0 deletions
  1. 1 0
      keyboards/planck/rev7/matrix.c

+ 1 - 0
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)