diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-11-23 23:55:45 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-11-23 23:55:45 -0500 |
commit | 1e6d643cfb89959771efcb7aa55b5d6c9918a3ee (patch) | |
tree | 894aecb73bb6655f1ad9a0b02e9de00686f91837 | |
parent | 97a82ee3eca1be69bd2d08e8fd9db09c0807ae5d (diff) | |
download | rockbox-1e6d643cfb89959771efcb7aa55b5d6c9918a3ee.tar.gz rockbox-1e6d643cfb89959771efcb7aa55b5d6c9918a3ee.zip |
Fix Red lib/helper.h
missing brightness defines
Change-Id: I7f6d67e2eb1be9c156a02ad3ff1ba4141e7cd08c
-rw-r--r-- | apps/plugins/lib/helper.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/lib/helper.h b/apps/plugins/lib/helper.h index e59325d5d9..6aee4dc581 100644 --- a/apps/plugins/lib/helper.h +++ b/apps/plugins/lib/helper.h | |||
@@ -23,6 +23,16 @@ | |||
23 | 23 | ||
24 | #include "plugin.h" | 24 | #include "plugin.h" |
25 | 25 | ||
26 | #ifndef MAX_BRIGHTNESS_SETTING | ||
27 | #define MAX_BRIGHTNESS_SETTING 0 | ||
28 | #endif | ||
29 | #ifndef MIN_BRIGHTNESS_SETTING | ||
30 | #define MIN_BRIGHTNESS_SETTING 0 | ||
31 | #endif | ||
32 | #ifndef DEFAULT_BRIGHTNESS_SETTING | ||
33 | #define DEFAULT_BRIGHTNESS_SETTING 0 | ||
34 | #endif | ||
35 | |||
26 | int talk_val(long n, int unit, bool enqueue); | 36 | int talk_val(long n, int unit, bool enqueue); |
27 | 37 | ||
28 | /** | 38 | /** |