aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/uart.c')
-rw-r--r--src/drivers/uart.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/drivers/uart.c b/src/drivers/uart.c
index 64bd73a..a45f86d 100644
--- a/src/drivers/uart.c
+++ b/src/drivers/uart.c
@@ -1,11 +1,13 @@
#include "../drivers/uart.h"
-void uart_hexn(unsigned long c_val) {
+void uart_hexn(unsigned long c_val)
+{
uart_hex(c_val);
- uart_char(0x0a);
+ uart_char('\n');
}
-void uart_10(unsigned long val) {
+void uart_10(unsigned long val)
+{
unsigned long t = val;
unsigned long c;
char buffer[11] = "0000000000\0";