From 499784a824c541001c2fd52ae95eba88dcfc952b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 21 Dec 2019 22:22:03 +0100 Subject: Many debugging/serial improvements Sorry for the little information, but I did many things :) --- src/kernel/lib/stdlib/htoa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/lib/stdlib/htoa.c') diff --git a/src/kernel/lib/stdlib/htoa.c b/src/kernel/lib/stdlib/htoa.c index 85bd750..660e26c 100644 --- a/src/kernel/lib/stdlib/htoa.c +++ b/src/kernel/lib/stdlib/htoa.c @@ -2,7 +2,7 @@ #include #include -static const char __HTOA_TABLE[] = "0123456789ABCDEF"; +static const char HTOA_TABLE[] = "0123456789ABCDEF"; char *htoa(uint32_t n) { @@ -10,7 +10,7 @@ char *htoa(uint32_t n) int i = 0; while (n) { - ret[i++] = __HTOA_TABLE[n & 0xF]; + ret[i++] = HTOA_TABLE[n & 0xF]; n >>= 4; } -- cgit v1.2.3