multiple battery types prepared (CONFIG_BATTERY)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5227 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jörg Hohensohn 2004-10-08 17:45:52 +00:00
parent 5cf1c97aea
commit 43079ea07f
12 changed files with 43 additions and 21 deletions

View file

@ -34,6 +34,9 @@
/* Define this to the CPU frequency */
#define CPU_FREQ 11059200
/* Type of mobile power */
#define CONFIG_BATTERY BATT_4AA_NIMH
/* Battery scale factor (?) */
#define BATTERY_SCALE_FACTOR 6465
@ -52,7 +55,7 @@
/* How to detect USB */
#define USB_RECORDERSTYLE 1
/* Define this if the platform has batteries */
/* Define this if the platform can charge batteries */
#define HAVE_BATTERIES 1
/* The start address index for ROM builds */