summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/stm32f0_disco/mcuconf.h')
-rw-r--r--keyboards/handwired/onekey/stm32f0_disco/mcuconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h b/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h
index ea4f9373a0..0bb4f4d643 100644
--- a/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h
+++ b/keyboards/handwired/onekey/stm32f0_disco/mcuconf.h
@@ -23,5 +23,8 @@
#include_next <mcuconf.h>
+#undef STM32_ADC_USE_ADC1
+#define STM32_ADC_USE_ADC1 TRUE
+
#undef STM32_PWM_USE_TIM3
#define STM32_PWM_USE_TIM3 TRUE