diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-12-24 17:42:07 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-12-24 17:42:07 +0000 |
commit | 9b8f56f35cfd67a1438ef7a6676319405b226d5d (patch) | |
tree | 143ffae22eb83e85a8adfc486983749ff24f1262 /firmware | |
parent | 24e2d8671d4c72bf2c8db4b27ad11906fef741c2 (diff) | |
download | rockbox-9b8f56f35cfd67a1438ef7a6676319405b226d5d.tar.gz rockbox-9b8f56f35cfd67a1438ef7a6676319405b226d5d.zip |
Oops. Fix precompiler condition to be for all CONFIG_CHARGING != 0 (as it should be).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19581 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/powermgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 065690fdb3..f71eb45430 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -682,7 +682,7 @@ static void power_thread(void) | |||
682 | 682 | ||
683 | while (1) | 683 | while (1) |
684 | { | 684 | { |
685 | #if CONFIG_CHARGING >= CHARGING_MONITOR | 685 | #if CONFIG_CHARGING |
686 | unsigned int pwr = power_input_status(); | 686 | unsigned int pwr = power_input_status(); |
687 | #ifdef HAVE_BATTERY_SWITCH | 687 | #ifdef HAVE_BATTERY_SWITCH |
688 | if ((pwr ^ power_thread_inputs) & POWER_INPUT_BATTERY) { | 688 | if ((pwr ^ power_thread_inputs) & POWER_INPUT_BATTERY) { |