forked from len0rd/rockbox
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
This commit is contained in:
parent
734278b7d1
commit
47bf6c5a5a
53 changed files with 256 additions and 152 deletions
|
@ -3294,7 +3294,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
(actually it should also set the timeout when plugged in,
|
||||
but the function backlight_set_timeout_plugged is not
|
||||
available in plugins) */
|
||||
#if CONFIG_BACKLIGHT
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
if (rb->global_settings->backlight_timeout > 0)
|
||||
rb->backlight_set_timeout(1);
|
||||
#endif
|
||||
|
@ -3320,7 +3320,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
|
|||
rb->ata_spindown(rb->global_settings->disk_spindown);
|
||||
#endif
|
||||
|
||||
#if CONFIG_BACKLIGHT
|
||||
#ifdef HAVE_BACKLIGHT
|
||||
/* reset backlight settings */
|
||||
rb->backlight_set_timeout(rb->global_settings->backlight_timeout);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue