diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/export/config-iaudio7.h | 2 | ||||
-rw-r--r-- | firmware/target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/firmware/export/config-iaudio7.h b/firmware/export/config-iaudio7.h index 89587b552e..601ff5491f 100644 --- a/firmware/export/config-iaudio7.h +++ b/firmware/export/config-iaudio7.h @@ -128,8 +128,6 @@ #define BATTERY_CAPACITY_INC 50 /* capacity increment */ #define BATTERY_TYPES_COUNT 1 /* only one type */ -/* define this if the unit should not shut down on low battery. */ -#define NO_LOW_BATTERY_SHUTDOWN #define CONFIG_CHARGING CHARGING_SIMPLE #ifndef SIMULATOR diff --git a/firmware/target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c b/firmware/target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c index e391ada10a..9b65bbde1f 100644 --- a/firmware/target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c +++ b/firmware/target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c @@ -30,13 +30,13 @@ unsigned short current_voltage = 5150; const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] = { /* FIXME: calibrate value */ - 3380 + 4400 }; const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = { /* FIXME: calibrate value */ - 3300 + 4600 }; /* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */ |