basic terminal
[cortex-from-scratch] / lib.c
diff --git a/lib.c b/lib.c
index d753ac3..ba55c01 100644 (file)
--- a/lib.c
+++ b/lib.c
@@ -26,13 +26,12 @@ void addrtohex(uint32_t addr) {
                }
        }
 
-       //uart_puts("ADDRESS: 0x");
         for (int i = 7; i >= 0; i--) {
-               uart_putc(hexbuf[i]);
+               cputchar(hexbuf[i]);
        } 
-       //uart_puts(hexbuf);
-       //uart_putc('\n');
 }
 
 
 
+
+