aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/uart.c
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2021-12-24 15:21:54 -0800
committerChristian Cunningham <cc@localhost>2021-12-24 15:21:54 -0800
commit3a366988a0077474075d8f33ad76514d2fa0c5d6 (patch)
tree7aa293e59bee8308825e029069d395c628d230cd /src/drivers/uart.c
parentd44bf5acb015edaeacc022f423bae4743b868f53 (diff)
Standardized Formatting
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";