summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2008-06-28 18:35:26 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2008-06-28 18:35:26 +0000
commitb628198499af830f901db8236f8ac48ac2c29deb (patch)
tree11eef22b56cf851fa0789f5d5dfc876740da5862
parent5edeade83bcff6bbd6e9c6019198947456d619d4 (diff)
this function is not used by scrollwheel targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17851 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/settings_list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index 14cfe1497f..ec6f7b6d08 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -279,6 +279,7 @@ static int32_t backlight_getlang(int value, int unit)
}
#endif
+#ifndef HAVE_SCROLLWHEEL
static void scanaccel_formatter(char *buffer, size_t buffer_size,
int val, const char *unit)
{
@@ -288,6 +289,7 @@ static void scanaccel_formatter(char *buffer, size_t buffer_size,
else
snprintf(buffer, buffer_size, "2x/%ds", val);
}
+#endif
#if CONFIG_CODEC == SWCODEC
static void crossfeed_cross_set(int val)