summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/target/arm/rk27xx/hm60x/powermgmt-hm60x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/rk27xx/hm60x/powermgmt-hm60x.c b/firmware/target/arm/rk27xx/hm60x/powermgmt-hm60x.c
index e26321f975..9556984c6c 100644
--- a/firmware/target/arm/rk27xx/hm60x/powermgmt-hm60x.c
+++ b/firmware/target/arm/rk27xx/hm60x/powermgmt-hm60x.c
@@ -53,7 +53,7 @@ const unsigned short percent_to_volt_discharge[BATTERY_TYPES_COUNT][11] =
53/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */ 53/* voltages (millivolt) of 0%, 10%, ... 100% when charging enabled */
54const unsigned short percent_to_volt_charge[11] = 54const unsigned short percent_to_volt_charge[11] =
55 /* TODO: simple copy of discharge curve */ 55 /* TODO: simple copy of discharge curve */
56 { 3300, 3468, 3521, 3562, 3609, 3644, 3691, 3767, 3837, 3919, 4100 } 56 { 3300, 3468, 3521, 3562, 3609, 3644, 3691, 3767, 3837, 3919, 4100 };
57 57
58/* full-scale ADC readout (2^10) in millivolt */ 58/* full-scale ADC readout (2^10) in millivolt */
59#define BATTERY_SCALE_FACTOR 6000 59#define BATTERY_SCALE_FACTOR 6000