forked from len0rd/rockbox
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)
|
while (1)
|
||||||
{
|
{
|
||||||
#if CONFIG_CHARGING >= CHARGING_MONITOR
|
#if CONFIG_CHARGING
|
||||||
unsigned int pwr = power_input_status();
|
unsigned int pwr = power_input_status();
|
||||||
#ifdef HAVE_BATTERY_SWITCH
|
#ifdef HAVE_BATTERY_SWITCH
|
||||||
if ((pwr ^ power_thread_inputs) & POWER_INPUT_BATTERY) {
|
if ((pwr ^ power_thread_inputs) & POWER_INPUT_BATTERY) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue