summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-04-12 22:12:13 +0000
committerJens Arnold <amiconn@rockbox.org>2007-04-12 22:12:13 +0000
commit47bf6c5a5ad1fd9143ab87328793b285230f74a3 (patch)
tree5199f2225a3dfc438bb1c4c5e9906f14664dfa43 /apps/plugins/jpeg.c
parent734278b7d1fde5e177c6842f49c16b9df8c353fa (diff)
downloadrockbox-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/jpeg.c')
-rw-r--r--apps/plugins/jpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c
index a330748404..c31d45e8ab 100644
--- a/apps/plugins/jpeg.c
+++ b/apps/plugins/jpeg.c
@@ -3294,7 +3294,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
3294 (actually it should also set the timeout when plugged in, 3294 (actually it should also set the timeout when plugged in,
3295 but the function backlight_set_timeout_plugged is not 3295 but the function backlight_set_timeout_plugged is not
3296 available in plugins) */ 3296 available in plugins) */
3297#if CONFIG_BACKLIGHT 3297#ifdef HAVE_BACKLIGHT
3298 if (rb->global_settings->backlight_timeout > 0) 3298 if (rb->global_settings->backlight_timeout > 0)
3299 rb->backlight_set_timeout(1); 3299 rb->backlight_set_timeout(1);
3300#endif 3300#endif
@@ -3320,7 +3320,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
3320 rb->ata_spindown(rb->global_settings->disk_spindown); 3320 rb->ata_spindown(rb->global_settings->disk_spindown);
3321#endif 3321#endif
3322 3322
3323#if CONFIG_BACKLIGHT 3323#ifdef HAVE_BACKLIGHT
3324 /* reset backlight settings */ 3324 /* reset backlight settings */
3325 rb->backlight_set_timeout(rb->global_settings->backlight_timeout); 3325 rb->backlight_set_timeout(rb->global_settings->backlight_timeout);
3326#endif 3326#endif