diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-04-12 22:12:13 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-04-12 22:12:13 +0000 |
commit | 47bf6c5a5ad1fd9143ab87328793b285230f74a3 (patch) | |
tree | 5199f2225a3dfc438bb1c4c5e9906f14664dfa43 /apps/plugins/mpegplayer/mpegplayer.c | |
parent | 734278b7d1fde5e177c6842f49c16b9df8c353fa (diff) | |
download | rockbox-47bf6c5a5ad1fd9143ab87328793b285230f74a3.tar.gz rockbox-47bf6c5a5ad1fd9143ab87328793b285230f74a3.zip |
Moved archos backlight code to target tree. Changed old mutlivalue CONFIG_BACKLIGHT to a simple HAVE_BACKLIGHT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13136 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.c')
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 4 |
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 |