summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-02-18 10:07:27 +0000
committerJens Arnold <amiconn@rockbox.org>2007-02-18 10:07:27 +0000
commit3a37f46fc92fe7f9846a4077cc1a985c500d1174 (patch)
tree76541ae462f02ede816ab3f9b42f5207f068658c /apps/plugins/mpegplayer
parentda88e84f482c8c96c0d64bf67969b6e9dd9a8379 (diff)
downloadrockbox-3a37f46fc92fe7f9846a4077cc1a985c500d1174.tar.gz
rockbox-3a37f46fc92fe7f9846a4077cc1a985c500d1174.zip
Fix CONFIG_BACKLIGHT warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c
index 25a5d1a600..36f54dc224 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -883,7 +883,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
883 (actually it should also set the timeout when plugged in, 883 (actually it should also set the timeout when plugged in,
884 but the function backlight_set_timeout_plugged is not 884 but the function backlight_set_timeout_plugged is not
885 available in plugins) */ 885 available in plugins) */
886#ifdef CONFIG_BACKLIGHT 886#if CONFIG_BACKLIGHT
887 if (rb->global_settings->backlight_timeout > 0) 887 if (rb->global_settings->backlight_timeout > 0)
888 rb->backlight_set_timeout(1); 888 rb->backlight_set_timeout(1);
889#endif 889#endif
@@ -954,7 +954,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
954 954
955 rb->lcd_setfont(FONT_UI); 955 rb->lcd_setfont(FONT_UI);
956 956
957#ifdef CONFIG_BACKLIGHT 957#if CONFIG_BACKLIGHT
958 /* reset backlight settings */ 958 /* reset backlight settings */
959 rb->backlight_set_timeout(rb->global_settings->backlight_timeout); 959 rb->backlight_set_timeout(rb->global_settings->backlight_timeout);
960#endif 960#endif