summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c b/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c
index c466db66b1..325893a4b7 100644
--- a/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c
+++ b/firmware/target/mips/ingenic_x1000/erosqnative/power-erosqnative.c
@@ -36,7 +36,7 @@ const unsigned short battery_level_dangerous[BATTERY_TYPES_COUNT] =
36 3470 36 3470
37}; 37};
38 38
39/* the OF shuts down at this voltage */ 39/* The OF shuts down at this voltage */
40const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] = 40const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
41{ 41{
42 3400 42 3400
@@ -45,13 +45,13 @@ const unsigned short battery_level_shutoff[BATTERY_TYPES_COUNT] =
45/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */ 45/* voltages (millivolt) of 0%, 10%, ... 100% when charging disabled */
46const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] = 46const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
47{ 47{
48 { 3400, 3639, 3697, 3723, 3757, 3786, 3836, 3906, 3980, 4050, 4159 } 48 { 3400, 3477, 3540, 3578, 3617, 3674, 3771, 3856, 3936, 4016, 4117 }
49}; 49};
50 50
51/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ 51/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
52const unsigned short percent_to_volt_charge[11] = 52const unsigned short percent_to_volt_charge[11] =
53{ 53{
54 3485, 3780, 3836, 3857, 3890, 3930, 3986, 4062, 4158, 4185, 4196 54 3400, 3477, 3540, 3578, 3617, 3674, 3771, 3856, 3936, 4016, 4117
55}; 55};
56 56
57void power_init(void) 57void power_init(void)