summaryrefslogtreecommitdiff
path: root/src/kernel
diff options
context:
space:
mode:
authordzwdz2021-08-18 19:55:34 +0200
committerdzwdz2021-08-18 19:55:34 +0200
commit349420c51fe05bfb23b6eb4d30aa1aad034d3c33 (patch)
tree34879caeb74436e88b3dd5d2be745f4c53e3bb40 /src/kernel
parent4ca728bb28bb9d1066320555233c94fdc5d75e58 (diff)
"fix" _tty_hex and _tty_var
well i guess it compiles now
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/arch/log.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/arch/log.h b/src/kernel/arch/log.h
index 39c138d..ea76292 100644
--- a/src/kernel/arch/log.h
+++ b/src/kernel/arch/log.h
@@ -4,7 +4,7 @@
void tty_init();
void tty_write(const char *buf, size_t len);
-inline void _tty_hex(const char *buf, size_t len) {
+static inline void _tty_hex(const char *buf, size_t len) {
char hex[2];
for (size_t i = 0; i < len; i++) {
hex[0] = (buf[i] & 0xF0) >> 4;