summaryrefslogtreecommitdiff
path: root/src/megametrum-v0.1/ao_megametrum.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/megametrum-v0.1/ao_megametrum.c')
-rw-r--r--src/megametrum-v0.1/ao_megametrum.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/megametrum-v0.1/ao_megametrum.c b/src/megametrum-v0.1/ao_megametrum.c
index 114f144f..43c2292d 100644
--- a/src/megametrum-v0.1/ao_megametrum.c
+++ b/src/megametrum-v0.1/ao_megametrum.c
@@ -28,12 +28,19 @@
#include <ao_sample_profile.h>
#endif
#include <ao_pyro.h>
+#if HAS_STACK_GUARD
+#include <ao_mpu.h>
+#endif
int
main(void)
{
ao_clock_init();
+#if HAS_STACK_GUARD
+ ao_mpu_init();
+#endif
+
ao_serial_init();
ao_led_init(LEDS_AVAILABLE);
ao_led_on(AO_LED_GREEN);