aboutsummaryrefslogtreecommitdiffstats
path: root/src/avr/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/avr/main.c')
-rw-r--r--src/avr/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/avr/main.c b/src/avr/main.c
index 7651ab4a..4a3f871a 100644
--- a/src/avr/main.c
+++ b/src/avr/main.c
@@ -4,9 +4,13 @@
//
// This file may be distributed under the terms of the GNU GPLv3 license.
+#include "autoconf.h" // CONFIG_MCU
+#include "command.h" // DECL_CONSTANT
#include "irq.h" // irq_enable
#include "sched.h" // sched_main
+DECL_CONSTANT(MCU, CONFIG_MCU);
+
// Main entry point for avr code.
int
main(void)