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_module.h>
uint32_t moduleLogInit = false;
uint32_t cafeLogInit = false;
uint32_t udpLogInit = false;
@ -22,7 +21,7 @@ void initLogging() {
void deinitLogging() {
#ifdef DEBUG
if (moduleLogInit) {
WHBLogMffoduleDeinit();
WHBLogModuleDeinit();
moduleLogInit = false;
}
if (cafeLogInit) {