summaryrefslogtreecommitdiff
path: root/keyboards/monarch
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-05-11 11:01:58 +1000
committerGitHub <noreply@github.com>2021-05-11 11:01:58 +1000
commitf41fc6b70c48b7fde36a4af1da99033edf4ffc74 (patch)
tree2f5799eb37d40d9d494d178fd8454dff87b2d8f1 /keyboards/monarch
parent0432bde9626b657b42e29741ffa862b043311a42 (diff)
Fixup build errors on `develop` branch. (#12723)
Diffstat (limited to 'keyboards/monarch')
-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