From b61e2632194956912437905c1fa03315ca7ef520 Mon Sep 17 00:00:00 2001 From: Zakk Roberts Date: Sat, 15 Apr 2006 12:31:33 +0000 Subject: Move the battery min/max capacity to player config files and add an increment setting (amount of mAh to increase/decrease by in the settings menu) for more precise battery value tweaking/limiting per-model. This allows the proper range for iAudio X5 - 950mAh, or 2250mAh for the X5L. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9678 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-fmrecorder.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'firmware/export/config-fmrecorder.h') diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h index 27e2f10f88..125956691b 100644 --- a/firmware/export/config-fmrecorder.h +++ b/firmware/export/config-fmrecorder.h @@ -63,7 +63,10 @@ /* Type of mobile power */ #define CONFIG_BATTERY BATT_LIION2200 - +#define BATTERY_CAPACITY_MIN 2200 /* min. capacity selectable */ +#define BATTERY_CAPACITY_MAX 3200 /* max. capacity selectable */ +#define BATTERY_CAPACITY_INC 50 /* capacity increment */ +#define BATTERY_TYPES_COUNT 1 /* only one type */ /* Battery scale factor (guessed, seems to be 1,25 * value from recorder) */ #define BATTERY_SCALE_FACTOR 8081 -- cgit v1.2.3