summaryrefslogtreecommitdiff
path: root/firmware/export/config-iaudiox5.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/config-iaudiox5.h')
-rw-r--r--firmware/export/config-iaudiox5.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h
index df24850892..3e835605da 100644
--- a/firmware/export/config-iaudiox5.h
+++ b/firmware/export/config-iaudiox5.h
@@ -113,12 +113,13 @@
113#define CPU_FREQ 11289600 113#define CPU_FREQ 11289600
114 114
115/* Type of mobile power */ 115/* Type of mobile power */
116#define CONFIG_BATTERY BATT_LIPOL1300 116#define X5_BATT_CONFIG 2
117#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */ 117#define CONFIG_BATTERY BATT_IAUDIO_X5
118#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */ 118#define BATTERY_CAPACITY_MIN 950 /* min. capacity selectable */
119#define BATTERY_CAPACITY_INC 50 /* capacity increment */ 119#define BATTERY_CAPACITY_MAX 2250 /* max. capacity selectable */
120#define BATTERY_TYPES_COUNT 1 /* only one type */ 120#define BATTERY_CAPACITY_INC 50 /* capacity increment */
121#define BATTERY_SCALE_FACTOR 23437 /* FIX: this value is picked at random */ 121#define BATTERY_TYPES_COUNT 1 /* only one type */
122#define BATTERY_SCALE_FACTOR 5859 /* (420703125 + 35900) / 71800 */
122 123
123/* define this if you have a real-time clock */ 124/* define this if you have a real-time clock */
124#define CONFIG_RTC RTC_PCF50606 125#define CONFIG_RTC RTC_PCF50606