summaryrefslogtreecommitdiff
path: root/apps/plugins/jpeg.c
diff options
context:
space:
mode:
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