diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-12-03 21:15:44 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-12-03 21:15:44 +0000 |
commit | bc963c34aedddcd3185ecda708ee2196cca7294c (patch) | |
tree | b4edba49b67ca6279bcbe916dbd731803836b5d0 /firmware/powermgmt.c | |
parent | add677fca8b9d42dfa013915db5c5f8bda5ca92b (diff) | |
download | rockbox-bc963c34aedddcd3185ecda708ee2196cca7294c.tar.gz rockbox-bc963c34aedddcd3185ecda708ee2196cca7294c.zip |
Hopefully mop-up remaining red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19317 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 899e103d59..a2017a76fd 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -1123,6 +1123,7 @@ void powermgmt_init(void) | |||
1123 | 1123 | ||
1124 | void sys_poweroff(void) | 1124 | void sys_poweroff(void) |
1125 | { | 1125 | { |
1126 | #ifndef BOOTLOADER | ||
1126 | logf("sys_poweroff()"); | 1127 | logf("sys_poweroff()"); |
1127 | /* If the main thread fails to shut down the system, we will force a | 1128 | /* If the main thread fails to shut down the system, we will force a |
1128 | power off after an 20 second timeout - 28 seconds if recording */ | 1129 | power off after an 20 second timeout - 28 seconds if recording */ |
@@ -1139,6 +1140,7 @@ void sys_poweroff(void) | |||
1139 | } | 1140 | } |
1140 | 1141 | ||
1141 | queue_broadcast(SYS_POWEROFF, 0); | 1142 | queue_broadcast(SYS_POWEROFF, 0); |
1143 | #endif /* BOOTLOADER */ | ||
1142 | } | 1144 | } |
1143 | 1145 | ||
1144 | void cancel_shutdown(void) | 1146 | void cancel_shutdown(void) |