uart small ping pong receive, update of register functions
[cortex-from-scratch] / lib.c
diff --git a/lib.c b/lib.c
index 69bb12d..bc5bc8c 100644 (file)
--- a/lib.c
+++ b/lib.c
@@ -7,7 +7,7 @@
 /* Temporary libc functions, which can later be 
  * replaced by a *real* library */
 
-char hexbuf[8] = {'0', '0','0', '0','0', '0','0', '0'};
+char hexbuf[8];
 
 void addrtohex(uint32_t addr) {
        char tmpbuf[6] = {'A', 'B', 'C', 'D', 'E', 'F'};
@@ -33,3 +33,5 @@ void addrtohex(uint32_t addr) {
        uart_putc('\n');
 }
 
+
+