aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/uart.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/uart.h')
-rw-r--r--src/drivers/uart.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/drivers/uart.h b/src/drivers/uart.h
index c3f8e86..21e8795 100644
--- a/src/drivers/uart.h
+++ b/src/drivers/uart.h
@@ -1,8 +1,9 @@
#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);
-#define PRINTI_DBG(X) uart_char('[');uart_string(__FILE__);uart_char(':');uart_10(__LINE__);uart_string("] ");uart_10(X);
+#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_hex(unsigned long data);