summaryrefslogtreecommitdiff
path: root/include/drivers/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drivers/uart.h')
-rw-r--r--include/drivers/uart.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/drivers/uart.h b/include/drivers/uart.h
index 26c2394..85b04b0 100644
--- a/include/drivers/uart.h
+++ b/include/drivers/uart.h
@@ -1,5 +1,6 @@
#pragma once
#include "common/types.h"
+#include "drivers/uart_color.h"
#define UART0 0x10000000L
#define RHR 0 // Receive Holding Register (read mode)
@@ -15,14 +16,6 @@
#define UART_RX_BUF_SIZE 128
-// ANSI Escape Codes for Modern Terminal Colors
-#define ANSI_RESET "\033[0m"
-#define ANSI_RED "\033[31m"
-#define ANSI_GREEN "\033[32m"
-#define ANSI_YELLOW "\033[33m"
-#define ANSI_BLUE "\033[34m"
-#define ANSI_CLEAR "\033[2J\033[1;1H"
-
namespace Drivers
{
void uart_init();