summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-05-18 00:25:04 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-05-18 00:25:04 +0000
commita97c0f5cf066238906410e6135326e29d025b239 (patch)
tree89802200844078f367e5685e2e49869aca3f469e /apps
parent1f2df74079ecb399d33069a6f6ba9eb1744b0e8a (diff)
downloadrockbox-a97c0f5cf066238906410e6135326e29d025b239.tar.gz
rockbox-a97c0f5cf066238906410e6135326e29d025b239.zip
Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17564 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/mpegplayer/mpeg_settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c
index 9e8c153cc4..922ec23bb6 100644
--- a/apps/plugins/mpegplayer/mpeg_settings.c
+++ b/apps/plugins/mpegplayer/mpeg_settings.c
@@ -261,6 +261,7 @@ static bool mpeg_set_option(const char* string,
return usb;
}
+#ifdef HAVE_BACKLIGHT_BRIGHTNESS /* Only used for this atm */
static bool mpeg_set_int(const char *string, const char *unit,
int voice_unit, const int *variable,
void (*function)(int), int step,
@@ -278,6 +279,7 @@ static bool mpeg_set_int(const char *string, const char *unit,
return usb;
}
+#endif /* HAVE_BACKLIGHT_BRIGHNTESS */
#ifdef HAVE_BACKLIGHT_BRIGHTNESS
void mpeg_backlight_update_brightness(int value)