summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/onekey/bluepill/mcuconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/onekey/bluepill/mcuconf.h')
-rw-r--r--keyboards/handwired/onekey/bluepill/mcuconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/bluepill/mcuconf.h b/keyboards/handwired/onekey/bluepill/mcuconf.h
index 5e94a97e21..39834c135b 100644
--- a/keyboards/handwired/onekey/bluepill/mcuconf.h
+++ b/keyboards/handwired/onekey/bluepill/mcuconf.h
@@ -23,6 +23,9 @@
#include_next <mcuconf.h>
+#undef STM32_ADC_USE_ADC1
+#define STM32_ADC_USE_ADC1 TRUE
+
#undef STM32_PWM_USE_TIM2
#define STM32_PWM_USE_TIM2 TRUE