summaryrefslogtreecommitdiff
path: root/firmware/powermgmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r--firmware/powermgmt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 0db751161c..3ccb57fcaf 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -68,10 +68,12 @@ static int percent_to_volt_nocharge[11] = /* voltages (centivolt) of 0%, 10%, ..
68 450, 481, 491, 497, 503, 507, 512, 514, 517, 528, 560 68 450, 481, 491, 497, 503, 507, 512, 514, 517, 528, 560
69}; 69};
70 70
71#ifdef HAVE_CHARGE_CTRL
71static int percent_to_volt_charge[11] = /* voltages (centivolt) of 0%, 10%, ... 100% when charging enabled */ 72static int percent_to_volt_charge[11] = /* voltages (centivolt) of 0%, 10%, ... 100% when charging enabled */
72{ 73{
73 476, 544, 551, 556, 561, 564, 566, 576, 582, 584, 585 74 476, 544, 551, 556, 561, 564, 566, 576, 582, 584, 585
74}; 75};
76#endif
75 77
76int battery_lazyness[20] = /* how does the battery react when plugging in/out the charger */ 78int battery_lazyness[20] = /* how does the battery react when plugging in/out the charger */
77{ 79{