From ba99d1b92dbac8159975d08d2194cc8cb233f1e1 Mon Sep 17 00:00:00 2001 From: Sergey Vlasov Date: Thu, 29 Jun 2023 13:42:59 +0300 Subject: [PATCH] planck/rev7: Fix build without AUDIO_ENABLE The watchdog code in `matrix.c` needs `#include `; it broke with `AUDIO_ENABLE = no`, because `quantum.h` no longer included `` implicitly. Adding `#include ` fixes build of some user keymaps which have `AUDIO_ENABLE = no`. --- keyboards/planck/rev7/matrix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboards/planck/rev7/matrix.c b/keyboards/planck/rev7/matrix.c index df1e627e8314..c89c399a40d2 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 // STM32-specific watchdog config calculations // timeout = 31.25us * PR * (RL + 1)