diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-09-30 16:09:51 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-09-30 16:24:52 +0200 |
commit | 0de25bc37cddc63fbb7f83867a786eeb853aff5a (patch) | |
tree | 19f154d08580bb1efd3fe2cd1883d652def0e476 /main.c | |
parent | 74a2f8409f3bfb462de36bca04ad44ac65473f7b (diff) | |
download | hourglass-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.c | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -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); |