summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpegplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.c')
-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 37723df7a6..b61e76ce8a 100644
--- a/apps/plugins/mpegplayer/mpegplayer.c
+++ b/apps/plugins/mpegplayer/mpegplayer.c
@@ -1645,7 +1645,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
1645 (actually it should also set the timeout when plugged in, 1645 (actually it should also set the timeout when plugged in,
1646 but the function backlight_set_timeout_plugged is not 1646 but the function backlight_set_timeout_plugged is not
1647 available in plugins) */ 1647 available in plugins) */
1648#if CONFIG_BACKLIGHT 1648#ifdef HAVE_BACKLIGHT
1649 if (rb->global_settings->backlight_timeout > 0) 1649 if (rb->global_settings->backlight_timeout > 0)
1650 rb->backlight_set_timeout(1); 1650 rb->backlight_set_timeout(1);
1651#endif 1651#endif
@@ -1778,7 +1778,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
1778 1778
1779 save_settings(); /* Save settings (if they have changed) */ 1779 save_settings(); /* Save settings (if they have changed) */
1780 1780
1781#if CONFIG_BACKLIGHT 1781#ifdef HAVE_BACKLIGHT
1782 /* reset backlight settings */ 1782 /* reset backlight settings */
1783 rb->backlight_set_timeout(rb->global_settings->backlight_timeout); 1783 rb->backlight_set_timeout(rb->global_settings->backlight_timeout);
1784#endif 1784#endif