forked from len0rd/rockbox
Clean up nested defines in powermngt.h while I'm at it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21568 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3537397f36
commit
23248a75b8
1 changed files with 4 additions and 8 deletions
|
@ -88,21 +88,17 @@ extern unsigned int power_thread_inputs;
|
||||||
#define CURRENT_BACKLIGHT 1 /* additional current when backlight always on */
|
#define CURRENT_BACKLIGHT 1 /* additional current when backlight always on */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_RECORDING
|
#if defined(HAVE_RECORDING) && !defined(CURRENT_RECORD)
|
||||||
#ifndef CURRENT_RECORD
|
|
||||||
#define CURRENT_RECORD 1 /* additional recording current */
|
#define CURRENT_RECORD 1 /* additional recording current */
|
||||||
#endif
|
#endif /* HAVE_RECORDING && !CURRENT_RECORD*/
|
||||||
#endif /* HAVE_RECORDING */
|
|
||||||
|
|
||||||
#ifndef CURRENT_USB
|
#ifndef CURRENT_USB
|
||||||
#define CURRENT_USB 1 /* usual current in mA in USB mode */
|
#define CURRENT_USB 1 /* usual current in mA in USB mode */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_REMOTE_LCD
|
#if defined(HAVE_REMOTE_LCD) && !defined(CURRENT_REMOTE)
|
||||||
#ifndef CURRENT_REMOTE
|
|
||||||
#define CURRENT_REMOTE 1 /* additional current when remote connected */
|
#define CURRENT_REMOTE 1 /* additional current when remote connected */
|
||||||
#endif /* CURRENT_REMOTE */
|
#endif /* CURRENT_REMOTE && !HAVE_REMOTE_LCD */
|
||||||
#endif /* HAVE_REMOTE_LCD */
|
|
||||||
|
|
||||||
#if CONFIG_CHARGING
|
#if CONFIG_CHARGING
|
||||||
#ifndef CURRENT_MAX_CHG
|
#ifndef CURRENT_MAX_CHG
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue