From 866a6ca0e749f4446b7fdc7579a6d553df85ec10 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Wed, 5 Jan 2022 14:27:09 -0800 Subject: Moved includes to its own directory --- src/drivers/uart.c | 2 +- src/drivers/uart.h | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 src/drivers/uart.h (limited to 'src/drivers') 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 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 -- cgit v1.2.1