summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/stm32f0_disco/halconf.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-05 11:36:20 +1100
committerGitHub <noreply@github.com>2022-10-05 11:36:20 +1100
commit4d6fab1cfa4c16831cbd9727efddec654ca0460e (patch)
treec3a8f62b70cb6c4c0ea334522b6eb8722727e1fe /keyboards/handwired/onekey/stm32f0_disco/halconf.h
parent64b1ed45507a15d5594b1f90b936c2096918f5a4 (diff)
onekey: Enable ADC for STM32F072 Discovery (#18592)
Diffstat (limited to 'keyboards/handwired/onekey/stm32f0_disco/halconf.h')
-rw-r--r--keyboards/handwired/onekey/stm32f0_disco/halconf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/stm32f0_disco/halconf.h b/keyboards/handwired/onekey/stm32f0_disco/halconf.h
index 78ed6586c8..432c43c6cc 100644
--- a/keyboards/handwired/onekey/stm32f0_disco/halconf.h
+++ b/keyboards/handwired/onekey/stm32f0_disco/halconf.h
@@ -21,6 +21,8 @@
#pragma once
+#define HAL_USE_ADC TRUE
+
#define HAL_USE_PWM TRUE
#include_next <halconf.h>