diff --git a/TNC/Log.cpp b/TNC/Log.cpp index ccdbbe1..e418d63 100644 --- a/TNC/Log.cpp +++ b/TNC/Log.cpp @@ -4,6 +4,9 @@ #include #include "PortInterface.hpp" +#include +#include + void log_(int level, const char* fmt, ...) { if (level < mobilinkd::tnc::log().level_) return; @@ -34,7 +37,7 @@ Log& log(void) { #endif -#if 1 +#ifdef NUCLEOTNC void Log::log(Level level, const char* fmt, ...) { if (level < level_) return;