diff --git a/lib/utils.c b/lib/utils.c index b2511754411bc79cd4cee7136a2355624392c05c..4cad3f4ad7876f109feac5d8d04436adf0c08ec8 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -65,6 +65,11 @@ static inline int u16tostr(uint8_t *dst, uint16_t num) * Cleanup callbacks. */ +/* Always compile-in log symbols, even if disabled. */ +#undef kr_debug_set +#undef kr_debug_status +#undef kr_log_debug + bool kr_debug_set(bool status) { return _env_debug = status; @@ -407,4 +412,4 @@ char *kr_module_call(struct kr_context *ctx, const char *module, const char *pro } } return NULL; -} \ No newline at end of file +}