From f41fc6b70c48b7fde36a4af1da99033edf4ffc74 Mon Sep 17 00:00:00 2001 From: Nick Brassel Date: Tue, 11 May 2021 11:01:58 +1000 Subject: Fixup build errors on `develop` branch. (#12723) --- keyboards/monarch/config.h | 2 ++ keyboards/monarch/halconf.h | 1 + keyboards/monarch/mcuconf.h | 3 +++ 3 files changed, 6 insertions(+) (limited to 'keyboards') diff --git a/keyboards/monarch/config.h b/keyboards/monarch/config.h index ca9e2646b5..6822b2f789 100644 --- a/keyboards/monarch/config.h +++ b/keyboards/monarch/config.h @@ -46,6 +46,8 @@ along with this program. If not, see . #define BACKLIGHT_BREATHING #define BREATHING_PERIOD 6 +#define SLEEP_LED_GPT_DRIVER GPTD1 + /* define if matrix has ghost */ //#define MATRIX_HAS_GHOST diff --git a/keyboards/monarch/halconf.h b/keyboards/monarch/halconf.h index c4a89408af..d27e21ad7f 100644 --- a/keyboards/monarch/halconf.h +++ b/keyboards/monarch/halconf.h @@ -21,6 +21,7 @@ #pragma once +#define HAL_USE_GPT TRUE #define HAL_USE_PWM TRUE #include_next diff --git a/keyboards/monarch/mcuconf.h b/keyboards/monarch/mcuconf.h index c16c3889a6..ebb2985722 100644 --- a/keyboards/monarch/mcuconf.h +++ b/keyboards/monarch/mcuconf.h @@ -23,6 +23,9 @@ #include_next +#undef STM32_GPT_USE_TIM1 +#define STM32_GPT_USE_TIM1 TRUE + #undef STM32_PWM_USE_TIM3 #define STM32_PWM_USE_TIM3 TRUE -- cgit v1.2.1