Commit bd09fecc authored by Reimar Döffinger's avatar Reimar Döffinger

color_table array should be const.

Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent d7847333
...@@ -148,7 +148,7 @@ typedef struct { ...@@ -148,7 +148,7 @@ typedef struct {
uint8_t rgb_color[3]; ///< RGB values for the color uint8_t rgb_color[3]; ///< RGB values for the color
} ColorEntry; } ColorEntry;
static ColorEntry color_table[] = { static const ColorEntry color_table[] = {
{ "AliceBlue", { 0xF0, 0xF8, 0xFF } }, { "AliceBlue", { 0xF0, 0xF8, 0xFF } },
{ "AntiqueWhite", { 0xFA, 0xEB, 0xD7 } }, { "AntiqueWhite", { 0xFA, 0xEB, 0xD7 } },
{ "Aqua", { 0x00, 0xFF, 0xFF } }, { "Aqua", { 0x00, 0xFF, 0xFF } },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment