summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorUdo Schläfer <rockbox-2014.10@desktopwarrior.net>2014-10-13 21:21:01 +0200
committerMichael Giacomelli <giac2000@hotmail.com>2014-10-18 05:31:34 +0200
commitfe519c7e4d4022fd692c90d507f0917a02547ad8 (patch)
treed331f913a7e3d09f8392d94be6998618636eed42 /firmware/export
parentac928ed7a2e0f133c56d7677dc09b001c21be1a5 (diff)
downloadrockbox-fe519c7e4d4022fd692c90d507f0917a02547ad8.tar.gz
rockbox-fe519c7e4d4022fd692c90d507f0917a02547ad8.zip
Enable battery charging detection for iBasso DX50/DX90.
This changes iBasso DX50/DX90 config from CHARGING_SIMPLE (Simple, hardware controlled charging (CPU cannot read charger state but may read when power is plugged-in) to CHARGING_MONITOR (Hardware controlled charging with monitoring (CPU is able to read HW charging state and when power is plugged-in)). Not really usefull at the moment, since USB connection (charging) is not (yet) gracefully handled for iBasso devices. Change-Id: I55da81b10637d4de88d713ea5eba08eb59bc629f Reviewed-on: http://gerrit.rockbox.org/1010 Reviewed-by: Michael Giacomelli <giac2000@hotmail.com>
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/config/ibassodx50.h2
-rw-r--r--firmware/export/config/ibassodx90.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/config/ibassodx50.h b/firmware/export/config/ibassodx50.h
index 652377cc6c..5bbb515c1c 100644
--- a/firmware/export/config/ibassodx50.h
+++ b/firmware/export/config/ibassodx50.h
@@ -99,7 +99,7 @@
99 99
100#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE 100#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
101 101
102#define CONFIG_CHARGING CHARGING_SIMPLE 102#define CONFIG_CHARGING CHARGING_MONITOR
103 103
104#define NO_LOW_BATTERY_SHUTDOWN 104#define NO_LOW_BATTERY_SHUTDOWN
105 105
diff --git a/firmware/export/config/ibassodx90.h b/firmware/export/config/ibassodx90.h
index d560f3e10b..68a728eab4 100644
--- a/firmware/export/config/ibassodx90.h
+++ b/firmware/export/config/ibassodx90.h
@@ -99,7 +99,7 @@
99 99
100#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE 100#define CONFIG_BATTERY_MEASURE VOLTAGE_MEASURE
101 101
102#define CONFIG_CHARGING CHARGING_SIMPLE 102#define CONFIG_CHARGING CHARGING_MONITOR
103 103
104#define NO_LOW_BATTERY_SHUTDOWN 104#define NO_LOW_BATTERY_SHUTDOWN
105 105