summaryrefslogtreecommitdiff
path: root/layouts/community/split_3x6_3/drashna/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/split_3x6_3/drashna/mcuconf.h')
-rw-r--r--layouts/community/split_3x6_3/drashna/mcuconf.h24
1 files changed, 10 insertions, 14 deletions
diff --git a/layouts/community/split_3x6_3/drashna/mcuconf.h b/layouts/community/split_3x6_3/drashna/mcuconf.h
index 649af5d1f4..920261476c 100644
--- a/layouts/community/split_3x6_3/drashna/mcuconf.h
+++ b/layouts/community/split_3x6_3/drashna/mcuconf.h
@@ -17,20 +17,16 @@
#include_next <mcuconf.h>
-// #undef STM32_HSE_ENABLED
-// #define STM32_HSE_ENABLED FALSE
-// #undef STM32_GPT_USE_TIM15
-// #define STM32_GPT_USE_TIM15 FALSE
+#if defined(KEYBOARD_crkbd)
-#undef STM32_PWM_USE_TIM2
-#define STM32_PWM_USE_TIM2 TRUE
-#undef STM32_PWM_USE_TIM3
-#define STM32_PWM_USE_TIM3 FALSE
+# undef STM32_PWM_USE_TIM2
+# define STM32_PWM_USE_TIM2 TRUE
+# undef STM32_PWM_USE_TIM3
+# define STM32_PWM_USE_TIM3 FALSE
-#undef STM32_SERIAL_USE_USART1
-#define STM32_SERIAL_USE_USART1 TRUE
+# undef STM32_SERIAL_USE_USART1
+# define STM32_SERIAL_USE_USART1 TRUE
-// #undef STM32_PWM_TIM15_IRQ_PRIORITY
-// #define STM32_PWM_TIM15_IRQ_PRIORITY 16
-#undef STM32_ST_USE_TIMER
-#define STM32_ST_USE_TIMER 3
+# undef STM32_ST_USE_TIMER
+# define STM32_ST_USE_TIMER 3
+#endif