fbcon: fix palette issue

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-17 21:35:18 -04:00
commit 1726663cab

View file

@ -33,9 +33,9 @@ static struct tty_serial_ops fbcon_serial_ops = {
struct tty *fbcon_init(void) struct tty *fbcon_init(void)
{ {
static u32 ansi_colors[] = {0x000000, 0x0000AA, 0x00AA00, 0x00AAAA, 0xAA0000, 0xAA00AA, 0xAAAA00, 0xAAAAAA}; static u32 ansi_colors[] = {0x000000, 0xAA0000, 0x00AA00, 0x00AAAA, 0x0000AA, 0xAA00AA, 0xAAAA00, 0xAAAAAA};
static u32 ansi_bright_colors[] = {0x000000, 0x0000DD, 0x00DD00, 0x00DDDD, 0xDD0000, 0xDD00DD, 0xDDDD00, 0xDDDDDD}; static u32 ansi_bright_colors[] = {0x000000, 0xDD00DD, 0x00DD00, 0x00DDDD, 0x0000DD, 0xDD00DD, 0xDDDD00, 0xDDDDDD};
static u32 default_fg = 0xDDDDDDDD; static u32 default_fg = 0xDDDDDDDD;
static u32 default_bg = 0x00000000; static u32 default_bg = 0x00000000;