mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
1 mA gets rounded to 0 during computation, so use 2 mA as the default.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21572 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
05a4e67101
commit
47150651b9
1 changed files with 5 additions and 5 deletions
|
|
@ -81,23 +81,23 @@ extern unsigned int power_thread_inputs;
|
||||||
* to define the correct values in the proper header*/
|
* to define the correct values in the proper header*/
|
||||||
|
|
||||||
#ifndef CURRENT_NORMAL
|
#ifndef CURRENT_NORMAL
|
||||||
#define CURRENT_NORMAL 1 /* usual current in mA */
|
#define CURRENT_NORMAL 5 /* usual current in mA */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CURRENT_BACKLIGHT
|
#ifndef CURRENT_BACKLIGHT
|
||||||
#define CURRENT_BACKLIGHT 1 /* additional current when backlight always on */
|
#define CURRENT_BACKLIGHT 5 /* additional current when backlight always on */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_RECORDING) && !defined(CURRENT_RECORD)
|
#if defined(HAVE_RECORDING) && !defined(CURRENT_RECORD)
|
||||||
#define CURRENT_RECORD 1 /* additional recording current */
|
#define CURRENT_RECORD 2 /* additional recording current */
|
||||||
#endif /* HAVE_RECORDING && !CURRENT_RECORD*/
|
#endif /* HAVE_RECORDING && !CURRENT_RECORD*/
|
||||||
|
|
||||||
#ifndef CURRENT_USB
|
#ifndef CURRENT_USB
|
||||||
#define CURRENT_USB 1 /* usual current in mA in USB mode */
|
#define CURRENT_USB 2 /* usual current in mA in USB mode */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_REMOTE_LCD) && !defined(CURRENT_REMOTE)
|
#if defined(HAVE_REMOTE_LCD) && !defined(CURRENT_REMOTE)
|
||||||
#define CURRENT_REMOTE 1 /* additional current when remote connected */
|
#define CURRENT_REMOTE 2 /* additional current when remote connected */
|
||||||
#endif /* CURRENT_REMOTE && !HAVE_REMOTE_LCD */
|
#endif /* CURRENT_REMOTE && !HAVE_REMOTE_LCD */
|
||||||
|
|
||||||
#if CONFIG_CHARGING
|
#if CONFIG_CHARGING
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue