aboutsummaryrefslogtreecommitdiff
path: root/src/kern/lib.c
diff options
context:
space:
mode:
authorJosh Rahm <joshuarahm@gmail.com>2020-11-24 16:41:49 -0700
committerJosh Rahm <joshuarahm@gmail.com>2020-11-24 16:41:49 -0700
commitc29e0323020e0f96932d0f9b09747d5b2e28e5a6 (patch)
treec6100f1a4702d14548f5b82d72afb85340711a68 /src/kern/lib.c
parent0c0f5c3d8397ba5168f0cd01b25ba70c238b36e0 (diff)
downloadstm32l4-c29e0323020e0f96932d0f9b09747d5b2e28e5a6.tar.gz
stm32l4-c29e0323020e0f96932d0f9b09747d5b2e28e5a6.tar.bz2
stm32l4-c29e0323020e0f96932d0f9b09747d5b2e28e5a6.zip
Changes to painic. It now prints the stack at the time of failure (if logging is initialized).
Diffstat (limited to 'src/kern/lib.c')
-rw-r--r--src/kern/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kern/lib.c b/src/kern/lib.c
index 3214b7c..24e1658 100644
--- a/src/kern/lib.c
+++ b/src/kern/lib.c
@@ -1,6 +1,6 @@
#include "kern/lib.h"
-#define nybble_to_hex(n) ((n) < 10 ? 0x30 + (n) : ('A' + ((n)-10)))
+#define nybble_to_hex(n) ((n) < 10 ? 0x30 + (n) : ('a' + ((n)-10)))
void hexify(uint32_t v, char* into)
{