diff options
Diffstat (limited to 'apps/plugins/jpeg.c')
-rw-r--r-- | apps/plugins/jpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/jpeg.c b/apps/plugins/jpeg.c index 8b90c21d61..f96c954e54 100644 --- a/apps/plugins/jpeg.c +++ b/apps/plugins/jpeg.c | |||
@@ -2915,7 +2915,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
2915 | (actually it should also set the timeout when plugged in, | 2915 | (actually it should also set the timeout when plugged in, |
2916 | but the function backlight_set_timeout_plugged is not | 2916 | but the function backlight_set_timeout_plugged is not |
2917 | available in plugins) */ | 2917 | available in plugins) */ |
2918 | #ifdef CONFIG_BACKLIGHT | 2918 | #if CONFIG_BACKLIGHT |
2919 | if (rb->global_settings->backlight_timeout > 0) | 2919 | if (rb->global_settings->backlight_timeout > 0) |
2920 | rb->backlight_set_timeout(1); | 2920 | rb->backlight_set_timeout(1); |
2921 | #endif | 2921 | #endif |
@@ -2931,7 +2931,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
2931 | rb->ata_spindown(rb->global_settings->disk_spindown); | 2931 | rb->ata_spindown(rb->global_settings->disk_spindown); |
2932 | #endif | 2932 | #endif |
2933 | 2933 | ||
2934 | #ifdef CONFIG_BACKLIGHT | 2934 | #if CONFIG_BACKLIGHT |
2935 | /* reset backlight settings */ | 2935 | /* reset backlight settings */ |
2936 | rb->backlight_set_timeout(rb->global_settings->backlight_timeout); | 2936 | rb->backlight_set_timeout(rb->global_settings->backlight_timeout); |
2937 | #endif | 2937 | #endif |