summaryrefslogtreecommitdiff
path: root/software/mpu/main.c
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2013-12-05 00:34:47 +0000
committerChristian Pointner <equinox@mur.at>2013-12-05 00:34:47 +0000
commit605377db3fb1644ac1bdb5ae7f39bfe25d06d764 (patch)
tree510c9b3be82e95ebfd3bcb6f6cc154c94f4a8842 /software/mpu/main.c
parentadded preliminary flash command (diff)
added IHU subsystem (only 405 for now)
git-svn-id: https://svn.spreadspace.org/mur.sat@856 7de4ea59-55d0-425e-a1af-a3118ea81d4c
Diffstat (limited to 'software/mpu/main.c')
-rw-r--r--software/mpu/main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/software/mpu/main.c b/software/mpu/main.c
index 90c5ef9..d2bfdd9 100644
--- a/software/mpu/main.c
+++ b/software/mpu/main.c
@@ -36,6 +36,8 @@
#include "heartbeat.h"
#include "usb-cdc-shell.h"
+#include "ihu.h"
+
static void sysInit(void)
{
/*
@@ -53,14 +55,14 @@ static void subsystemsInit(void)
{
/* call init functions of all subsystems which should spawn threads for their task */
heartbeatInit();
+ ihuInit();
}
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 */
-
- /* nothing here ... for now anyway */
+ ihuStop();
}
static void sysShutdown(void)