diff options
author | Mihail Zenkov <mihail.zenkov@gmail.com> | 2016-03-30 12:50:40 +0000 |
---|---|---|
committer | Gerrit Rockbox <gerrit@rockbox.org> | 2016-04-04 11:19:51 +0200 |
commit | ce90c0481a6c7a5a455791e4e7366c589e52b68c (patch) | |
tree | 06ab06467d00e4742a7028699d36e81c80b96531 /firmware/export/powermgmt.h | |
parent | e599810ffaa6412326f61d026fc598c721b3a01c (diff) |
Fix checking for CONFIG_CHARGING
Change-Id: I53b9a129679fd7b322770025106ef92033226d2a
Diffstat (limited to 'firmware/export/powermgmt.h')
-rw-r--r-- | firmware/export/powermgmt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h index d79d560150..f6b71a864e 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h @@ -49,7 +49,7 @@ enum charge_state_type /* tells what the charger is doing */ extern enum charge_state_type charge_state; -#ifdef CONFIG_CHARGING +#if CONFIG_CHARGING /* * Flag that the charger has been plugged in/removed: this is set for exactly * one time through the power loop when the charger has been plugged in. |