Permalink
Browse files

Add white color

  • Loading branch information...
jwhite66 committed Dec 20, 2012
1 parent 6304dab commit d130bbbdbf97d7c7a25d526f00ca0ebbafcbd01e
Showing with 7 additions and 0 deletions.
  1. +7 −0 ledscroll.c
View
@@ -85,6 +85,13 @@ int get_color_command(const char *p, pixel_t *pixel)
red = 13;
green = 1;
}
+ else if (strncasecmp(p, "[white]", 7) == 0)
+ {
+ bright = MAX_BRIGHT;
+ red = 13;
+ green = 13;
+ blue = 13;
+ }
else if (strncasecmp(p, "[yellow]", 8) == 0)
{
bright = MAX_BRIGHT;

0 comments on commit d130bbb

Please sign in to comment.