Add 16bit colour support in lcd.h
This patch adds support for LCD_COLOR16 in include/lcd.h.
Signed-off-by: Mark Jackson <mpfj@mimc.co.uk>
diff --git a/include/lcd.h b/include/lcd.h
index 2de36ab..4d1dd9e 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -326,7 +326,7 @@
#if LCD_BPP == LCD_MONOCHROME
# define COLOR_MASK(c) ((c) | (c) << 1 | (c) << 2 | (c) << 3 | \
(c) << 4 | (c) << 5 | (c) << 6 | (c) << 7)
-#elif LCD_BPP == LCD_COLOR8
+#elif (LCD_BPP == LCD_COLOR8) || (LCD_BPP == LCD_COLOR16)
# define COLOR_MASK(c) (c)
#else
# error Unsupported LCD BPP.