From 605377db3fb1644ac1bdb5ae7f39bfe25d06d764 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Thu, 5 Dec 2013 00:34:47 +0000 Subject: added IHU subsystem (only 405 for now) git-svn-id: https://svn.spreadspace.org/mur.sat@856 7de4ea59-55d0-425e-a1af-a3118ea81d4c --- software/mpu/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'software/mpu/main.c') 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) -- cgit v1.2.3