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
This commit is contained in:
parent
24e2d8671d
commit
9b8f56f35c
1 changed files with 1 additions and 1 deletions
|
@ -682,7 +682,7 @@ static void power_thread(void)
|
|||
|
||||
while (1)
|
||||
{
|
||||
#if CONFIG_CHARGING >= CHARGING_MONITOR
|
||||
#if CONFIG_CHARGING
|
||||
unsigned int pwr = power_input_status();
|
||||
#ifdef HAVE_BATTERY_SWITCH
|
||||
if ((pwr ^ power_thread_inputs) & POWER_INPUT_BATTERY) {
|
||||
|
|
Loading…
Reference in a new issue