aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-09-30 16:09:51 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-09-30 16:24:52 +0200
commit0de25bc37cddc63fbb7f83867a786eeb853aff5a (patch)
tree19f154d08580bb1efd3fe2cd1883d652def0e476 /main.c
parent74a2f8409f3bfb462de36bca04ad44ac65473f7b (diff)
downloadhourglass-0de25bc37cddc63fbb7f83867a786eeb853aff5a.tar.gz
hourglass-0de25bc37cddc63fbb7f83867a786eeb853aff5a.tar.bz2
hourglass-0de25bc37cddc63fbb7f83867a786eeb853aff5a.zip
Reliable reboot, idle status LED indicator
Diffstat (limited to 'main.c')
-rw-r--r--main.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/main.c b/main.c
index b9bb5ce..a69a045 100644
--- a/main.c
+++ b/main.c
@@ -37,24 +37,10 @@ int main () {
gyroInit ();
accelInit ();
pwmInit ();
- pwmStart ();
set_sleep_mode (SLEEP_MODE_IDLE);
- puts ("initialization done");
-
- /* global interrupt enable */
sei ();
- gyroStart ();
- accelStart ();
-
uiLoop ();
-
- timerStop ();
- pwmStop ();
-
- puts ("stopped");
-
- /* global interrupt disable */
cli ();
while (1);