mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
LiIon voltages for FM recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3164 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
96f5de95ae
commit
b1b968a71e
1 changed files with 9 additions and 1 deletions
|
|
@ -21,10 +21,18 @@
|
|||
|
||||
#ifndef SIMULATOR
|
||||
|
||||
#define BATTERY_LEVEL_SHUTDOWN 450 /* 4.5V */
|
||||
#ifdef HAVE_FMADC /* FM Recorder, LiIon */
|
||||
#define BATTERY_LEVEL_SHUTDOWN 260 /* 2.60V */
|
||||
#define BATTERY_LEVEL_EMPTY 265 /* 2.65V */
|
||||
#define BATTERY_LEVEL_DANGEROUS 280 /* 2.80V */
|
||||
#define BATTERY_LEVEL_FULL 400 /* 4.00V */
|
||||
|
||||
#else /* Recorder, NiCd */
|
||||
#define BATTERY_LEVEL_SHUTDOWN 450 /* 4.50V */
|
||||
#define BATTERY_LEVEL_EMPTY 465 /* 4.65V */
|
||||
#define BATTERY_LEVEL_DANGEROUS 475 /* 4.75V */
|
||||
#define BATTERY_LEVEL_FULL 585 /* 5.85V */
|
||||
#endif
|
||||
|
||||
#define BATTERY_RANGE (BATTERY_LEVEL_FULL - BATTERY_LEVEL_EMPTY)
|
||||
#define BATTERY_CAPACITY_MAX 2400 /* max. capacity that can be selected in settings menu, min. is always 1500 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue