aboutsummaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-03 21:35:01 -0800
committerChristian Cunningham <cc@localhost>2022-01-03 21:35:01 -0800
commitf3ea4cd0c22f351d8dfffb0e937194c4b526b665 (patch)
treebc0dcb168ba06417a765c588420bdc20068a553c /src/drivers
parent01af43f3bad5deb061237ebddc577511336de7d5 (diff)
Added Stack ASM Functions
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/uart.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/drivers/uart.c b/src/drivers/uart.c
index cc1933e..142a5c3 100644
--- a/src/drivers/uart.c
+++ b/src/drivers/uart.c
@@ -1,11 +1,5 @@
#include "../drivers/uart.h"
-void uart_hexn(unsigned long c_val)
-{
- uart_hex(c_val);
- uart_char('\n');
-}
-
void uart_10(unsigned long val)
{
unsigned long t = val;
@@ -22,3 +16,9 @@ void uart_10(unsigned long val)
}
uart_string(dptr);
}
+
+void uart_hexn(unsigned long c_val)
+{
+ uart_hex(c_val);
+ uart_char('\n');
+}