From 8e47360893eab81d8122c09cf6b5e9ee3952442e Mon Sep 17 00:00:00 2001 From: Arne Date: Mon, 14 Feb 2011 20:02:12 +0100 Subject: [PATCH] Update to v3.0. Fixed temperature reading backward. --- drivers/power/ds2746_param.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/ds2746_param.c b/drivers/power/ds2746_param.c index 266a4a80..b9e4195f 100644 --- a/drivers/power/ds2746_param.c +++ b/drivers/power/ds2746_param.c @@ -716,7 +716,7 @@ static BOOL __battery_param_udpate(struct battery_type *battery) FL_25[battery->id_index] = 2300; battery->charge_full_real_mAh = FL_25[battery->id_index]; battery->charge_full_design_mAh = battery->charge_full_real_mAh; - temp_01c = battery->temp_adc*10; + temp_01c = 650 - battery->temp_adc*10; } else FL_25[battery->id_index] = 1230; -- 2.11.4.GIT