summaryrefslogtreecommitdiffstats
path: root/bootloader/telechips.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2008-02-16 12:44:15 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2008-02-16 12:44:15 +0000
commit868fcce96cf0a131daa615afe87ea8a2287304bd (patch)
tree2ad39351b1e0bc537f68a057f652ddf634652f22 /bootloader/telechips.c
parentb650bc592aa09f8ba74bdfb420ef869b97fbaaf8 (diff)
downloadrockbox-868fcce96cf0a131daa615afe87ea8a2287304bd.tar.gz
rockbox-868fcce96cf0a131daa615afe87ea8a2287304bd.tar.bz2
rockbox-868fcce96cf0a131daa615afe87ea8a2287304bd.zip
Shutdown needs about 2 seconds, but it seems to work :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16317 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/telechips.c')
-rw-r--r--bootloader/telechips.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/bootloader/telechips.c b/bootloader/telechips.c
index 1918465aa2..e1b80f9be6 100644
--- a/bootloader/telechips.c
+++ b/bootloader/telechips.c
@@ -197,12 +197,8 @@ void* main(void)
line = 0;
printf("POWER-OFF");
-#if defined(COWON_D2)
- lcd_enable(false);
-#endif
-
- /* TODO: Power-off */
- while(1);
+ /* Power-off */
+ power_off();
return 0;
}