Fix building with logs

This commit is contained in:
Maschell 2022-01-26 14:09:36 +01:00
parent a6141aac72
commit 84afdb3179

View File

@ -4,7 +4,6 @@
#include <whb/log_cafe.h> #include <whb/log_cafe.h>
#include <whb/log_module.h> #include <whb/log_module.h>
uint32_t moduleLogInit = false; uint32_t moduleLogInit = false;
uint32_t cafeLogInit = false; uint32_t cafeLogInit = false;
uint32_t udpLogInit = false; uint32_t udpLogInit = false;
@ -22,7 +21,7 @@ void initLogging() {
void deinitLogging() { void deinitLogging() {
#ifdef DEBUG #ifdef DEBUG
if (moduleLogInit) { if (moduleLogInit) {
WHBLogMffoduleDeinit(); WHBLogModuleDeinit();
moduleLogInit = false; moduleLogInit = false;
} }
if (cafeLogInit) { if (cafeLogInit) {