fix (kernel): Added 'g_' prefix to global variable 'color_palette'

This commit is contained in:
antifallobst 2023-02-22 23:34:20 +01:00
parent 48f10b6e30
commit 8b1e807bfc
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ typedef struct {
uint8_t blue; uint8_t blue;
} color_argb_T; } color_argb_T;
extern color_argb_T color_palette[COLOR_PAL_ENUM_END]; extern color_argb_T g_color_palette[COLOR_PAL_ENUM_END];
color_argb_T color_argb_blend_alpha(color_argb_T background, color_argb_T foreground); color_argb_T color_argb_blend_alpha(color_argb_T background, color_argb_T foreground);

View File

@ -15,7 +15,7 @@
#include "drivers/graphics/color.h" #include "drivers/graphics/color.h"
color_argb_T color_palette[COLOR_PAL_ENUM_END] = { color_argb_T g_color_palette[COLOR_PAL_ENUM_END] = {
{0xFF, 0x36, 0x36, 0x36}, // GREY_DARK {0xFF, 0x36, 0x36, 0x36}, // GREY_DARK
{0xFF, 0xFF, 0x08, 0x83}, // PINK {0xFF, 0xFF, 0x08, 0x83}, // PINK
{0xFF, 0x83, 0xff, 0x08}, // GREEN_SIGNAL {0xFF, 0x83, 0xff, 0x08}, // GREEN_SIGNAL