diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 19:20:15 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 19:20:15 -0400 |
commit | 9be5bc4cf0d185f4515174b9ebbb105f73f7c2e3 (patch) | |
tree | 46b4a9f4650d288bcbe67e92a9138b45c06105fa /apps/plugins/fireworks.c | |
parent | 2127906384d618e032692becba10aeda1b3e1974 (diff) | |
download | rockbox-9be5bc4cf0d185f4515174b9ebbb105f73f7c2e3.tar.gz rockbox-9be5bc4cf0d185f4515174b9ebbb105f73f7c2e3.zip |
plugins: More HAVE_BACKLIGHT cleanup
Change-Id: I70cf700f5bc3d4375c025efa62ef40fd2bd70293
Diffstat (limited to 'apps/plugins/fireworks.c')
-rw-r--r-- | apps/plugins/fireworks.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/fireworks.c b/apps/plugins/fireworks.c index d6ca6618cb..b7dad0d8ba 100644 --- a/apps/plugins/fireworks.c +++ b/apps/plugins/fireworks.c | |||
@@ -358,7 +358,9 @@ enum plugin_status plugin_start(const void* parameter) | |||
358 | 358 | ||
359 | /* set everything up.. no BL timeout, no backdrop, | 359 | /* set everything up.. no BL timeout, no backdrop, |
360 | white-text-on-black-background. */ | 360 | white-text-on-black-background. */ |
361 | #ifdef HAVE_BACKLIGHT | ||
361 | backlight_ignore_timeout(); | 362 | backlight_ignore_timeout(); |
363 | #endif | ||
362 | #if LCD_DEPTH > 1 | 364 | #if LCD_DEPTH > 1 |
363 | rb->lcd_set_backdrop(NULL); | 365 | rb->lcd_set_backdrop(NULL); |
364 | rb->lcd_set_background(LCD_BLACK); | 366 | rb->lcd_set_background(LCD_BLACK); |
@@ -522,9 +524,10 @@ enum plugin_status plugin_start(const void* parameter) | |||
522 | break; | 524 | break; |
523 | } | 525 | } |
524 | } | 526 | } |
527 | #ifdef HAVE_BACKLIGHT | ||
525 | /* Turn on backlight timeout (revert to settings) */ | 528 | /* Turn on backlight timeout (revert to settings) */ |
526 | backlight_use_settings(); | 529 | backlight_use_settings(); |
527 | 530 | #endif | |
528 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 531 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
529 | rb->cpu_boost(false); | 532 | rb->cpu_boost(false); |
530 | #endif | 533 | #endif |