summaryrefslogtreecommitdiff
path: root/firmware/export/config
diff options
context:
space:
mode:
authorTomasz Moń <desowin@gmail.com>2021-06-10 08:43:32 +0200
committerTomasz Moń <desowin@gmail.com>2021-06-10 08:43:32 +0200
commit551c74da55dc15238e76713d7477e7e4bfda60ef (patch)
tree90273d5fcda52138f8e47073ec106da2076eb2da /firmware/export/config
parentf26499bd6717820607802ee99b9fa3d00a3d5dc4 (diff)
downloadrockbox-551c74da55dc15238e76713d7477e7e4bfda60ef.tar.gz
rockbox-551c74da55dc15238e76713d7477e7e4bfda60ef.zip
Sansa Connect: Remove fake battery voltage scale
Use battery percentage as reported by AVR. Change-Id: Id697d460b240798eb0b103f9e1f419906b87e9ca
Diffstat (limited to 'firmware/export/config')
-rw-r--r--firmware/export/config/sansaconnect.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/firmware/export/config/sansaconnect.h b/firmware/export/config/sansaconnect.h
index 5ae2be1b16..016c8d108d 100644
--- a/firmware/export/config/sansaconnect.h
+++ b/firmware/export/config/sansaconnect.h
@@ -147,7 +147,7 @@
147#define BATTERY_CAPACITY_INC 100 /* capacity increment */ 147#define BATTERY_CAPACITY_INC 100 /* capacity increment */
148#define BATTERY_TYPES_COUNT 1 /* only one type */ 148#define BATTERY_TYPES_COUNT 1 /* only one type */
149 149
150#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE 150#define CONFIG_BATTERY_MEASURE PERCENTAGE_MEASURE
151 151
152/* define current usage levels */ 152/* define current usage levels */
153#if 0 153#if 0
@@ -156,9 +156,6 @@
156#define CURRENT_BACKLIGHT 200 156#define CURRENT_BACKLIGHT 200
157#endif 157#endif
158 158
159/* Hardware controlled charging with monitoring */
160//#define CONFIG_CHARGING CHARGING_MONITOR
161
162#define CONFIG_CPU DM320 159#define CONFIG_CPU DM320
163 160
164#define CONFIG_I2C I2C_DM320 161#define CONFIG_I2C I2C_DM320