aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f4/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm32f4/main.c')
-rw-r--r--src/stm32f4/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stm32f4/main.c b/src/stm32f4/main.c
index a1a60578..a6424770 100644
--- a/src/stm32f4/main.c
+++ b/src/stm32f4/main.c
@@ -4,11 +4,12 @@
//
// This file may be distributed under the terms of the GNU GPLv3 license.
+#include "autoconf.h" // CONFIG_MCU
#include "command.h" // DECL_CONSTANT_STR
#include "internal.h" // clock_setup
#include "sched.h" // sched_main
-DECL_CONSTANT_STR("MCU", "stm32f446");
+DECL_CONSTANT_STR("MCU", CONFIG_MCU);
void
command_reset(uint32_t *args)