From e4e0b18daafd7f732b0b14be4e099619937ca589 Mon Sep 17 00:00:00 2001 From: Mihail Zenkov Date: Thu, 7 Apr 2016 02:35:58 +0000 Subject: AMS: power off while charging enabled Change-Id: Icddf1ea0a03f0426e0cf9b99f05ea065f532fed5 --- firmware/export/config/sansac200v2.h | 3 +-- firmware/export/config/sansaclip.h | 3 +-- firmware/export/config/sansaclipplus.h | 3 +-- firmware/export/config/sansaclipv2.h | 3 +-- firmware/export/config/sansaclipzip.h | 3 +-- firmware/export/config/sansae200v2.h | 3 +++ firmware/export/config/sansafuze.h | 3 +++ firmware/export/config/sansafuzeplus.h | 3 +++ firmware/export/config/sansafuzev2.h | 3 +++ 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 -- cgit v1.2.3