--- lamp.c 2009-12-26 18:34:52.000000000 +0100 +++ _lamp.c 2009-12-26 00:53:26.000000000 +0100 @@ -7,6 +7,8 @@ * \/ \/ \/ \/ \/ * $Id: lamp.c 24010 2009-12-15 20:51:41Z tomers $ * + * modified by Marek Niemiec, DB1BMN, Dec. 24th 2009: added more colors + * * Copyright (C) 2007 Vuong Minh Hiep (vmh) * Copyright (C) 2008 Thomas Martitz (kugel.) * Copyright (C) 2008 Alexander Papst @@ -118,9 +120,14 @@ #ifdef HAVE_LCD_COLOR /* RGB color sets */ -#define NUM_COLORSETS 2 -static int colorset[NUM_COLORSETS][3] = { { 255, 255, 255 } , /* white */ - { 255, 0, 0 } }; /* red */ +#define NUM_COLORSETS 6 +static int colorset[NUM_COLORSETS][3] = { { 255, 255, 255 } , /* white */ + { 255, 0, 0 } , /* red */ + { 0, 255, 0 } , /* green */ + { 0, 0, 255 } , /* blue */ + { 255, 255, 0 } , /* yellow */ + { 255, 127, 0 } /* orange */ + }; #endif /* HAVE_LCD_COLOR */ /* this is the plugin entry point */