aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f1/adc.c')
-rw-r--r--src/stm32f1/adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32f1/adc.c b/src/stm32f1/adc.c
index 8eda4f8f..fcdcb911 100644
--- a/src/stm32f1/adc.c
+++ b/src/stm32f1/adc.c
@@ -14,7 +14,7 @@
#include "stm32f1xx_ll_gpio.h" // LL_GPIO_SetPinMode
#include "sched.h" // sched_shutdown
-DECL_CONSTANT(ADC_MAX, 4095);
+DECL_CONSTANT("ADC_MAX", 4095);
#define ADC_DELAY (240 * 8)