From 9e8fe0e4c662d3d5c26ea2f1f64c7da66cf3ce04 Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Mon, 30 Oct 2006 11:33:38 +0000 Subject: General: changed local adc to voltage conversions in several places to use battery_voltage. Added battery_read_info function for unfiltered battery information. x5: removed adc_read as a distinct function. Removed adc tick task. adc_init is empty inline. Adjusted battery scale, voltage to level array and read 10 bits from the ADC for battery since 255 levels is not enough for true centivolt resolution. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11396 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config.h | 1 + 1 file changed, 1 insertion(+) (limited to 'firmware/export/config.h') diff --git a/firmware/export/config.h b/firmware/export/config.h index 6f6d253fe9..765bcfdb07 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -70,6 +70,7 @@ #define BATT_LIION2200 2200 /* FM/V2 recorder type */ #define BATT_4AA_NIMH 1500 #define BATT_3AAA 1000 /* Ondio */ +#define BATT_IAUDIO_X5 950 #define BATT_LIPOL1300 1300 /* the type used in iRiver h1x0 models */ #define BATT_LPCS355385 1550 /* iriver h10 20Gb - SKC LPCS355385 */ #define BATT_BP009 820 /* iriver H10 5/6Gb - iriver BP009 */ -- cgit v1.2.3