From 1e6d643cfb89959771efcb7aa55b5d6c9918a3ee Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Wed, 23 Nov 2022 23:55:45 -0500 Subject: Fix Red lib/helper.h missing brightness defines Change-Id: I7f6d67e2eb1be9c156a02ad3ff1ba4141e7cd08c --- apps/plugins/lib/helper.h | 10 ++++++++++ 1 file changed, 10 insertions(+) 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); /** -- cgit v1.2.3