summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihail Zenkov <mihail.zenkov@gmail.com>2016-04-07 02:35:58 +0000
committerMihail Zenkov <mihail.zenkov@gmail.com>2016-04-07 02:35:58 +0000
commite4e0b18daafd7f732b0b14be4e099619937ca589 (patch)
tree9729ed6a70210d6cf1d7760d197ff7480f726d69
parent98c15fe85d2e3466d2d345e0f4c8b2a51731be2e (diff)
downloadrockbox-e4e0b18.tar.gz
rockbox-e4e0b18.tar.bz2
rockbox-e4e0b18.zip
AMS: power off while charging enabled
Change-Id: Icddf1ea0a03f0426e0cf9b99f05ea065f532fed5
-rw-r--r--firmware/export/config/sansac200v2.h3
-rw-r--r--firmware/export/config/sansaclip.h3
-rw-r--r--firmware/export/config/sansaclipplus.h3
-rw-r--r--firmware/export/config/sansaclipv2.h3
-rw-r--r--firmware/export/config/sansaclipzip.h3
-rw-r--r--firmware/export/config/sansae200v2.h3
-rw-r--r--firmware/export/config/sansafuze.h3
-rw-r--r--firmware/export/config/sansafuzeplus.h3
-rw-r--r--firmware/export/config/sansafuzev2.h3
9 files changed, 17 insertions, 10 deletions
diff --git a/firmware/export/config/sansac200v2.h b/firmware/export/config/sansac200v2.h
index 0da8b6a67b..e3bb54f164 100644
--- a/firmware/export/config/sansac200v2.h
+++ b/firmware/export/config/sansac200v2.h
@@ -154,8 +154,7 @@
#define CONFIG_I2C I2C_AS3525
/* define this if the hardware can be powered off while charging */
-/* Sansa can't be powered off while charging */
-/* #define HAVE_POWEROFF_WHILE_CHARGING */
+#define HAVE_POWEROFF_WHILE_CHARGING
#define CURRENT_NORMAL 50
#define CURRENT_BACKLIGHT 25
diff --git a/firmware/export/config/sansaclip.h b/firmware/export/config/sansaclip.h
index 43a24cb5c4..cdee43d44a 100644
--- a/firmware/export/config/sansaclip.h
+++ b/firmware/export/config/sansaclip.h
@@ -157,8 +157,7 @@
#define CONFIG_I2C I2C_AS3525
/* define this if the hardware can be powered off while charging */
-/* Sansa can't be powered off while charging */
-/* #define HAVE_POWEROFF_WHILE_CHARGING */
+#define HAVE_POWEROFF_WHILE_CHARGING
/* define current usage levels (based on battery bench) */
#define CURRENT_NORMAL 37
diff --git a/firmware/export/config/sansaclipplus.h b/firmware/export/config/sansaclipplus.h
index 47d270e428..a687dd5244 100644
--- a/firmware/export/config/sansaclipplus.h
+++ b/firmware/export/config/sansaclipplus.h
@@ -166,8 +166,7 @@
#define CONFIG_I2C I2C_AS3525
/* define this if the hardware can be powered off while charging */
-/* Sansa can't be powered off while charging */
-/* #define HAVE_POWEROFF_WHILE_CHARGING */
+#define HAVE_POWEROFF_WHILE_CHARGING
/* define current usage levels (based on battery bench) */
#define CURRENT_NORMAL 19
diff --git a/firmware/export/config/sansaclipv2.h b/firmware/export/config/sansaclipv2.h
index b2e2496d7e..d893633c73 100644
--- a/firmware/export/config/sansaclipv2.h
+++ b/firmware/export/config/sansaclipv2.h
@@ -162,8 +162,7 @@
#define CONFIG_I2C I2C_AS3525
/* define this if the hardware can be powered off while charging */
-/* Sansa can't be powered off while charging */
-/* #define HAVE_POWEROFF_WHILE_CHARGING */
+#define HAVE_POWEROFF_WHILE_CHARGING
/* define current usage levels (based on battery bench) */
#define CURRENT_NORMAL 24
diff --git a/firmware/export/config/sansaclipzip.h b/firmware/export/config/sansaclipzip.h
index a7d6a106d7..37ad9340c3 100644
--- a/firmware/export/config/sansaclipzip.h
+++ b/firmware/export/config/sansaclipzip.h
@@ -165,8 +165,7 @@
#define CONFIG_I2C I2C_AS3525
/* define this if the hardware can be powered off while charging */
-/* Sansa can't be powered off while charging */
-/* #define HAVE_POWEROFF_WHILE_CHARGING */
+#define HAVE_POWEROFF_WHILE_CHARGING
/* define current usage levels (based on battery bench) */
#define CURRENT_NORMAL 19 /* TODO copied from clipplus */
diff --git a/firmware/export/config/sansae200v2.h b/firmware/export/config/sansae200v2.h
index 3541e0f107..1e76bf58d7 100644
--- a/firmware/export/config/sansae200v2.h
+++ b/firmware/export/config/sansae200v2.h
@@ -167,6 +167,9 @@
/* Define this if you want to use the AS2525 i2c interface */
#define CONFIG_I2C I2C_AS3525
+/* define this if the hardware can be powered off while charging */
+#define HAVE_POWEROFF_WHILE_CHARGING
+
/* define current usage levels (based on battery bench) */
#define CURRENT_NORMAL 44
#define CURRENT_BACKLIGHT 30
diff --git a/firmware/export/config/sansafuze.h b/firmware/export/config/sansafuze.h
index f15d424c1b..80c4e441fc 100644
--- a/firmware/export/config/sansafuze.h
+++ b/firmware/export/config/sansafuze.h
@@ -171,6 +171,9 @@
/* Define this if you want to use the AS2525 i2c interface */
#define CONFIG_I2C I2C_AS3525
+/* define this if the hardware can be powered off while charging */
+#define HAVE_POWEROFF_WHILE_CHARGING
+
/* define current usage levels (based on battery bench) */
#define CURRENT_NORMAL 35
#define CURRENT_BACKLIGHT 30
diff --git a/firmware/export/config/sansafuzeplus.h b/firmware/export/config/sansafuzeplus.h
index 73ac5b9d32..51bf1444a2 100644
--- a/firmware/export/config/sansafuzeplus.h
+++ b/firmware/export/config/sansafuzeplus.h
@@ -160,6 +160,9 @@
/* Define this if you want to use the IMX233 i2c interface */
#define CONFIG_I2C I2C_IMX233
+/* define this if the hardware can be powered off while charging */
+#define HAVE_POWEROFF_WHILE_CHARGING
+
/* define current usage levels (based on battery bench) */
#define CURRENT_NORMAL 35
#define CURRENT_BACKLIGHT 30
diff --git a/firmware/export/config/sansafuzev2.h b/firmware/export/config/sansafuzev2.h
index 9668295736..06d73aeabd 100644
--- a/firmware/export/config/sansafuzev2.h
+++ b/firmware/export/config/sansafuzev2.h
@@ -173,6 +173,9 @@
/* Define this if you want to use the AS2525 i2c interface */
#define CONFIG_I2C I2C_AS3525
+/* define this if the hardware can be powered off while charging */
+#define HAVE_POWEROFF_WHILE_CHARGING
+
/* define current usage levels (based on battery bench) */
#define CURRENT_NORMAL 26
#define CURRENT_BACKLIGHT 30