From 5b7d6a14c1e90fcd1d7280979e305d386686f55e Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sat, 3 Oct 2009 08:01:19 +0000 Subject: 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 --- apps/plugins/SOURCES | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 4cfc3a8..678d969 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) -- cgit v1.1