summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-12-20 10:05:27 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-12-20 10:05:27 +0000
commit57228769a2a0da43042d57048215ad67cd49e443 (patch)
treed32a7225994062152b6bbb9b37d20745bbf93bc5
parentef956971469f2dc84dbd1053ff1767296f293c1c (diff)
downloadrockbox-57228769a2a0da43042d57048215ad67cd49e443.zip
rockbox-57228769a2a0da43042d57048215ad67cd49e443.tar.gz
rockbox-57228769a2a0da43042d57048215ad67cd49e443.tar.bz2
rockbox-57228769a2a0da43042d57048215ad67cd49e443.tar.xz
fix typo, noticed by Steve Gotthardt
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11822 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/powermgmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index 6c7f96b..c4582a7 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -936,7 +936,7 @@ static void power_thread(void)
avgbat = avgbat * BATT_AVE_SAMPLES;
battery_centivolts = avgbat / BATT_AVE_SAMPLES / 10000;
-#ifdef CONFIG_CHARING
+#ifdef CONFIG_CHARGING
if(charger_inserted()) {
battery_percent = voltage_to_percent(battery_centivolts,
percent_to_volt_charge);