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