aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/uart.c2
-rw-r--r--src/drivers/uart.h15
2 files changed, 1 insertions, 16 deletions
diff --git a/src/drivers/uart.c b/src/drivers/uart.c
index 142a5c3..f6fe79b 100644
--- a/src/drivers/uart.c
+++ b/src/drivers/uart.c
@@ -1,4 +1,4 @@
-#include "../drivers/uart.h"
+#include <drivers/uart.h>
void uart_10(unsigned long val)
{
diff --git a/src/drivers/uart.h b/src/drivers/uart.h
deleted file mode 100644
index b83732f..0000000
--- a/src/drivers/uart.h
+++ /dev/null
@@ -1,15 +0,0 @@
-#ifndef DRIVERS_UART_H
-#define DRIVERS_UART_H
-
-#define PRINTS_DBG(X) uart_char('[');uart_string(__FILE__);uart_char(':');uart_10(__LINE__);uart_string("] ");uart_string(X);uart_char('\n');
-#define PRINTX_DBG(X) uart_char('[');uart_string(__FILE__);uart_char(':');uart_10(__LINE__);uart_string("] ");uart_hex((unsigned long)X);uart_char('\n');
-#define PRINTI_DBG(X) uart_char('[');uart_string(__FILE__);uart_char(':');uart_10(__LINE__);uart_string("] ");uart_10((unsigned long)X);uart_char('\n');
-
-extern void uart_char(unsigned char c);
-extern void uart_string(char* message);
-extern void uart_hex(unsigned long data);
-
-void uart_10(unsigned long);
-void uart_hexn(unsigned long);
-
-#endif