summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/monarch/config.h2
-rw-r--r--keyboards/monarch/halconf.h1
-rw-r--r--keyboards/monarch/mcuconf.h3
3 files changed, 6 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
#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 <halconf.h>
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 <mcuconf.h>
+#undef STM32_GPT_USE_TIM1
+#define STM32_GPT_USE_TIM1 TRUE
+
#undef STM32_PWM_USE_TIM3
#define STM32_PWM_USE_TIM3 TRUE