summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-10-29 18:34:14 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-10-29 18:34:14 +0000
commit4c457afe899b32f74cfa761b5bd078a296a75251 (patch)
treee51baf468d6750488c6237d5abd6a7c1e9ecb186 /firmware
parent83589f040a0fbf5eeffdd0ac376a228a84d73159 (diff)
use ARCHOS_ONDIO* defines when checking for ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18925 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/export/powermgmt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h
index 5a2f9362a3..acdee22a12 100644
--- a/firmware/export/powermgmt.h
+++ b/firmware/export/powermgmt.h
@@ -92,7 +92,7 @@ extern int trickle_sec; /* trickle charge: How many seconds per minute
#endif /* CONFIG_CHARGING == CHARGING_CONTROL */
-#ifdef HAVE_MMC /* Values for Ondio */
+#if defined(ARCHOS_ONDIOSP) || defined(ARCHOS_ONDIOFM) /* Values for Ondio */
# define CURRENT_NORMAL 95 /* average, nearly proportional to 1/U */
# define CURRENT_USB 1 /* host powered in USB mode; avoid zero-div */
# define CURRENT_BACKLIGHT 0 /* no backlight */