From 8b1e807bfc39cdd72ef756c8b29477d0213bc3e9 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Wed, 22 Feb 2023 23:34:20 +0100 Subject: [PATCH] fix (kernel): Added 'g_' prefix to global variable 'color_palette' --- kernel/inc/drivers/graphics/color.h | 2 +- kernel/src/drivers/graphics/color.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/inc/drivers/graphics/color.h b/kernel/inc/drivers/graphics/color.h index b112664..1fed570 100644 --- a/kernel/inc/drivers/graphics/color.h +++ b/kernel/inc/drivers/graphics/color.h @@ -40,7 +40,7 @@ typedef struct { uint8_t blue; } 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); diff --git a/kernel/src/drivers/graphics/color.c b/kernel/src/drivers/graphics/color.c index 0ef3654..5bc37d8 100644 --- a/kernel/src/drivers/graphics/color.c +++ b/kernel/src/drivers/graphics/color.c @@ -15,7 +15,7 @@ #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, 0xFF, 0x08, 0x83}, // PINK {0xFF, 0x83, 0xff, 0x08}, // GREEN_SIGNAL