summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMichael Giacomelli <giac2000@hotmail.com>2009-06-29 18:48:17 +0000
committerMichael Giacomelli <giac2000@hotmail.com>2009-06-29 18:48:17 +0000
commit3537397f3650d2b999da04b45d64cd7c14f90e66 (patch)
tree2869fd8b1fe6629de7a3b14a379925237086e550 /firmware
parentc5d3857715434c3376be0a5f818bcf5d222c5e69 (diff)
Protect CURRENT_REMOTE define with an ifndef.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21567 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/powermgmt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index e691e1b10b..c5b137cab4 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -99,7 +99,9 @@ extern unsigned int power_thread_inputs;
#endif
#ifdef HAVE_REMOTE_LCD
+#ifndef CURRENT_REMOTE
#define CURRENT_REMOTE 1 /* additional current when remote connected */
+#endif /* CURRENT_REMOTE */
#endif /* HAVE_REMOTE_LCD */
#if CONFIG_CHARGING