summaryrefslogtreecommitdiff
path: root/apps/plugins/lamp.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lamp.c')
-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 4d4205a093..fa7027ece7 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 };
61 61
62#ifdef HAVE_LCD_COLOR 62#ifdef HAVE_LCD_COLOR
63/* RGB color sets */ 63/* RGB color sets */
64#define NUM_COLORSETS 2 64#define NUM_COLORSETS 9
65static unsigned colorset[NUM_COLORSETS] = { 65static unsigned colorset[NUM_COLORSETS] = {
66 LCD_RGBPACK(255, 255, 255), /* white */ 66 LCD_RGBPACK(255, 255, 255), /* white */
67 LCD_RGBPACK(255, 0, 0), /* red */ 67 LCD_RGBPACK(255, 0, 0), /* red */
68 LCD_RGBPACK(255, 165, 0), /* orange */
69 LCD_RGBPACK(255, 255, 0), /* yellow */
70 LCD_RGBPACK( 0, 255, 0), /* green */
71 LCD_RGBPACK( 0, 0, 255), /* blue */
72 LCD_RGBPACK( 75, 0, 130), /* indigo */
73 LCD_RGBPACK(238, 130, 238), /* violet */
74 LCD_RGBPACK( 0, 0, 0), /* black */
68}; 75};
69#endif /* HAVE_LCD_COLOR */ 76#endif /* HAVE_LCD_COLOR */
70 77