From f3818e805a808214558e9f5dbc3ad0bd075cc6be Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Tue, 5 Dec 2023 20:06:35 +0100 Subject: [PATCH] tcp_cmd make default color white text on black background --- project/Core/Src/tcp_cmd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/Core/Src/tcp_cmd.c b/project/Core/Src/tcp_cmd.c index c8fbe93..d17e260 100644 --- a/project/Core/Src/tcp_cmd.c +++ b/project/Core/Src/tcp_cmd.c @@ -9,8 +9,8 @@ #define MAX_CMD_LEN 50 static const char* TAG = "tcp_cmd"; -static uint32_t color_txt = 0xff000000; // Store text color -static uint32_t color_bg = 0xff000000; // Store background color +static uint32_t color_txt = 0xffffffff; // Store text color +static uint32_t color_bg = 0xff000000; // Store background color static void tcp_cmd_write(struct tcp_pcb* pcb, const char* str); static void tcp_cmd_print_header(struct tcp_pcb* pcb);