summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lamp.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugins/lamp.c b/apps/plugins/lamp.c
index 4d4205a..fa7027e 100644
--- a/apps/plugins/lamp.c
+++ b/apps/plugins/lamp.c
@@ -61,10 +61,17 @@ static const struct button_mapping *plugin_contexts[] = { pla_main_ctx };
#ifdef HAVE_LCD_COLOR
/* RGB color sets */
-#define NUM_COLORSETS 2
+#define NUM_COLORSETS 9
static unsigned colorset[NUM_COLORSETS] = {
LCD_RGBPACK(255, 255, 255), /* white */
LCD_RGBPACK(255, 0, 0), /* red */
+ LCD_RGBPACK(255, 165, 0), /* orange */
+ LCD_RGBPACK(255, 255, 0), /* yellow */
+ LCD_RGBPACK( 0, 255, 0), /* green */
+ LCD_RGBPACK( 0, 0, 255), /* blue */
+ LCD_RGBPACK( 75, 0, 130), /* indigo */
+ LCD_RGBPACK(238, 130, 238), /* violet */
+ LCD_RGBPACK( 0, 0, 0), /* black */
};
#endif /* HAVE_LCD_COLOR */