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-1e6d643cfb.tar.gz rockbox-1e6d643cfb.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 @@ #include "plugin.h" +#ifndef MAX_BRIGHTNESS_SETTING +#define MAX_BRIGHTNESS_SETTING 0 +#endif +#ifndef MIN_BRIGHTNESS_SETTING +#define MIN_BRIGHTNESS_SETTING 0 +#endif +#ifndef DEFAULT_BRIGHTNESS_SETTING +#define DEFAULT_BRIGHTNESS_SETTING 0 +#endif + int talk_val(long n, int unit, bool enqueue); /** |