summaryrefslogtreecommitdiff
path: root/apps/plugins/SOURCES
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-10-03 08:01:19 +0000
committerDave Chapman <dave@dchapman.com>2009-10-03 08:01:19 +0000
commit5b7d6a14c1e90fcd1d7280979e305d386686f55e (patch)
tree62cd20b71c88b0a40e467ed218ed5fb0c9552ccb /apps/plugins/SOURCES
parentf0c6c88f6d6afef6fa8bba311ce1bcf1873f8a90 (diff)
battery_bench requires the register_storage_idle_func() and unregister_storage_idle_func() functions, so only compile #if USING_STORAGE_CALLBACK.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22881 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/SOURCES')
-rw-r--r--apps/plugins/SOURCES4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index 4cfc3a8b0f..678d969190 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -21,8 +21,10 @@ viewer.c
#ifdef HAVE_BACKLIGHT
lamp.c
#endif /* HAVE_BACKLIGHT */
-#ifndef SIMULATOR
+#if USING_STORAGE_CALLBACK
battery_bench.c
+#endif
+#ifndef SIMULATOR
firmware_flash.c
#endif /* SIMULATOR */
#if (CONFIG_CPU == SH7034)