aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/uart.a.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/uart.a.h b/src/drivers/uart.a.h
index cd4498e..c14fa69 100644
--- a/src/drivers/uart.a.h
+++ b/src/drivers/uart.a.h
@@ -1,6 +1,9 @@
#ifndef DRIVERS_UART_A_H
#define DRIVERS_UART_A_H
+#define PRINTS_DBG(X) uart_char('[');uart_string(__FILE__);uart_char(':');uart_10(__LINE__);uart_string("] ");uart_string(X);
+#define PRINTI_DBG(X) uart_char('[');uart_string(__FILE__);uart_char(':');uart_10(__LINE__);uart_string("] ");uart_10(X);
+
extern void uart_char(unsigned char c);
extern void uart_hex(unsigned long data);
extern void uart_string(char* message);