display-cg: fix C_LIGHT and C_DARK (#16)

This commit is contained in:
Lephe 2021-05-25 11:17:25 +02:00
parent 9e43dcb27a
commit 242c41d1f2
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -36,8 +36,8 @@ typedef uint16_t color_t;
enum { enum {
/* Compatibility with fx9860g color names */ /* Compatibility with fx9860g color names */
C_WHITE = 0xffff, C_WHITE = 0xffff,
C_LIGHT = 0xaaaa, C_LIGHT = 0xad55,
C_DARK = 0x5555, C_DARK = 0x528a,
C_BLACK = 0x0000, C_BLACK = 0x0000,
/* Other colors */ /* Other colors */
@ -46,7 +46,7 @@ enum {
C_BLUE = 0x001f, C_BLUE = 0x001f,
C_NONE = -1, C_NONE = -1,
C_INVERT = -2, C_INVERT = -2,
}; };
/* RGB color maker. Takes three channels of value 0..31 each (the extra bit of /* RGB color maker. Takes three channels of value 0..31 each (the extra bit of