aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f1')
-rw-r--r--src/stm32f1/adc.c2
-rw-r--r--src/stm32f1/main.c2
2 files changed, 2 insertions, 2 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)
diff --git a/src/stm32f1/main.c b/src/stm32f1/main.c
index 3abb03a3..258578da 100644
--- a/src/stm32f1/main.c
+++ b/src/stm32f1/main.c
@@ -19,7 +19,7 @@
#include "stm32f1xx_ll_spi.h"
#include "sched.h" // sched_main
-DECL_CONSTANT(MCU, "stm32f103");
+DECL_CONSTANT_STR("MCU", "stm32f103");
/****************************************************************