summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorAndree Buschmann <AndreeBuschmann@t-online.de>2008-04-20 19:00:52 +0000
committerAndree Buschmann <AndreeBuschmann@t-online.de>2008-04-20 19:00:52 +0000
commit5f28b469b227e2a7cdfe4c22a9961845dabe8302 (patch)
tree31c3b180e368b03a4ff8ec3ab3d39cbea721fd55 /firmware
parentfe5a35ce0617c2eb7cfe6d9760db0f01a132d243 (diff)
downloadrockbox-5f28b469b227e2a7cdfe4c22a9961845dabe8302.tar.gz
rockbox-5f28b469b227e2a7cdfe4c22a9961845dabe8302.tar.bz2
rockbox-5f28b469b227e2a7cdfe4c22a9961845dabe8302.zip
fix red and remove tabs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17196 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/powermgmt.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 69b0704bc2..3d08c11ff5 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -195,6 +195,13 @@ void reset_poweroff_timer(void)
{
}
+#ifdef HAVE_ACCESSORY_SUPPLY
+void accessory_supply_set(bool enable)
+{
+ (void)enable;
+}
+#endif
+
#else /* not SIMULATOR ******************************************************/
#if CONFIG_CHARGING == CHARGING_CONTROL
@@ -1143,7 +1150,7 @@ void powermgmt_init(void)
memset(power_history, 0x00, sizeof(power_history));
create_thread(power_thread, power_stack, sizeof(power_stack), 0,
power_thread_name IF_PRIO(, PRIORITY_SYSTEM)
- IF_COP(, CPU));
+ IF_COP(, CPU));
}
#endif /* SIMULATOR */