summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */