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:
Michael Giacomelli 2009-06-29 21:40:03 +00:00
parent 05a4e67101
commit 47150651b9

View file

@ -81,23 +81,23 @@ extern unsigned int power_thread_inputs;
* to define the correct values in the proper header*/
#ifndef CURRENT_NORMAL
#define CURRENT_NORMAL 1 /* usual current in mA */
#define CURRENT_NORMAL 5 /* usual current in mA */
#endif
#ifndef CURRENT_BACKLIGHT
#define CURRENT_BACKLIGHT 1 /* additional current when backlight always on */
#define CURRENT_BACKLIGHT 5 /* additional current when backlight always on */
#endif
#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*/
#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
#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 */
#if CONFIG_CHARGING