diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-11-23 23:00:29 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-11-23 23:00:29 -0500 |
commit | 97a82ee3eca1be69bd2d08e8fd9db09c0807ae5d (patch) | |
tree | b032a1397fd33240d8fdc7d6e17059723d0ffe55 /apps/plugins/pacbox | |
parent | 3745c813f924b12232c4f37610aecd23fe5654b8 (diff) | |
download | rockbox-97a82ee3eca1be69bd2d08e8fd9db09c0807ae5d.tar.gz rockbox-97a82ee3eca1be69bd2d08e8fd9db09c0807ae5d.zip |
plugins HAVE_BACKLIGHT helper remove ifdefs in favor of dummy functions
lessen the ifdef hell
Change-Id: I52f830284e4599f3fc3a75c27dda27058b8de1a3
Diffstat (limited to 'apps/plugins/pacbox')
-rwxr-xr-x | apps/plugins/pacbox/pacbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c index 71c9751cad..9434aed743 100755 --- a/apps/plugins/pacbox/pacbox.c +++ b/apps/plugins/pacbox/pacbox.c | |||
@@ -809,8 +809,8 @@ enum plugin_status plugin_start(const void* parameter) | |||
809 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ | 809 | #ifdef HAVE_ADJUSTABLE_CPU_FREQ |
810 | rb->cpu_boost(false); | 810 | rb->cpu_boost(false); |
811 | #endif | 811 | #endif |
812 | #ifdef HAVE_BACKLIGHT | 812 | |
813 | backlight_use_settings(); | 813 | backlight_use_settings(); |
814 | #endif | 814 | |
815 | return PLUGIN_OK; | 815 | return PLUGIN_OK; |
816 | } | 816 | } |