Files
mars-libowfat/fmt/fmt_tohex.c
leitner ea2b3e6c6f updates makefile dependencies
remove compiler.h include from tryinline.c
add #ifdef INTERNAL to files included by n.c and ent.c so they don't need headers in libowfat/ and can compile without an installed or build libowfat
2025-01-22 17:32:17 +00:00

9 lines
118 B
C

#ifndef INTERNAL
#include <libowfat/fmt.h>
#endif
char fmt_tohex(char c) {
return (char)(c>=10?c-10+'a':c+'0');
}