diff options
Diffstat (limited to 'src/drivers/uart.h')
-rw-r--r-- | src/drivers/uart.h | 15 |
1 files changed, 0 insertions, 15 deletions
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 |