summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@mur.at>2014-01-23 00:32:02 +0000
committerChristian Pointner <equinox@mur.at>2014-01-23 00:32:02 +0000
commite4a011314ac14f15efabea0a8c2cda6a4a9e054d (patch)
tree62fe6b60a1f9b931262d049719b6a49586227524
parentpowerdown when halted (diff)
small cleanup (disbling TM subsystem)
git-svn-id: https://svn.spreadspace.org/mur.sat@870 7de4ea59-55d0-425e-a1af-a3118ea81d4c
-rw-r--r--software/mpu/halconf.h2
-rw-r--r--software/mpu/main.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/software/mpu/halconf.h b/software/mpu/halconf.h
index 3740179..31a845e 100644
--- a/software/mpu/halconf.h
+++ b/software/mpu/halconf.h
@@ -34,7 +34,7 @@
* @brief Enables the TM subsystem.
*/
#if !defined(HAL_USE_TM) || defined(__DOXYGEN__)
-#define HAL_USE_TM TRUE
+#define HAL_USE_TM FALSE
#endif
/**
diff --git a/software/mpu/main.c b/software/mpu/main.c
index 55df8a8..99ca5a2 100644
--- a/software/mpu/main.c
+++ b/software/mpu/main.c
@@ -114,6 +114,8 @@ int main(void)
}
for(;;) { /* halting system, aka loop endlessly */
- port_wait_for_interrupt(); /* power down */
+ port_wait_for_interrupt(); /* power down, well not really - just the CPU is
+ stopped - all the peripherials and the main PLL
+ are still running */
}
}