From 040816d173a633f13601204e4c66401d9468cc8a Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Tue, 3 Dec 2002 14:33:20 +0000 Subject: Fixed build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2914 a1c6a512-1295-4272-9138-f99709370657 --- firmware/powermgmt.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'firmware') 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%, .. 450, 481, 491, 497, 503, 507, 512, 514, 517, 528, 560 }; +#ifdef HAVE_CHARGE_CTRL static int percent_to_volt_charge[11] = /* voltages (centivolt) of 0%, 10%, ... 100% when charging enabled */ { 476, 544, 551, 556, 561, 564, 566, 576, 582, 584, 585 }; +#endif int battery_lazyness[20] = /* how does the battery react when plugging in/out the charger */ { -- cgit v1.2.3