summaryrefslogtreecommitdiff
path: root/software/mpu/main.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2014-04-09 04:22:00 +0200
committerChristian Pointner <equinox@mur.at>2014-04-09 04:22:00 +0200
commita324fa64bf9c1070d37b2089973e644cecbd240f (patch)
tree0ff08df4dd6f484645a5f8c476de1a1fd7613214 /software/mpu/main.c
parentadded gitingore (diff)
added SDIO for F405 and blockstore
Diffstat (limited to 'software/mpu/main.c')
-rw-r--r--software/mpu/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/software/mpu/main.c b/software/mpu/main.c
index 99ca5a2..3bae9f0 100644
--- a/software/mpu/main.c
+++ b/software/mpu/main.c
@@ -37,6 +37,7 @@
#include "usb-cdc-shell.h"
#include "ihu.h"
+#include "blockstore.h"
static void sysInit(void)
{
@@ -55,6 +56,7 @@ static void subsystemsInit(void)
{
/* call init functions of all subsystems which should spawn threads for their task */
heartbeatInit();
+ blockstoreInit();
ihuInit();
}
@@ -63,6 +65,7 @@ static void subsystemsStop(void)
/* Safely stop critical threads, aka call shutdown functions of all subsystems */
/* -> invoke the xxxStop() method on all the active device drivers */
ihuStop();
+ blockstoreStop();
}
static void sysShutdown(void)