diff --git a/os/net/mac/tsch/tsch-log.h b/os/net/mac/tsch/tsch-log.h index f73e0ddc4..06888e24f 100644 --- a/os/net/mac/tsch/tsch-log.h +++ b/os/net/mac/tsch/tsch-log.h @@ -51,7 +51,7 @@ #define TSCH_LOG_PER_SLOT TSCH_LOG_CONF_PER_SLOT #else /* TSCH_LOG_CONF_PER_SLOT */ #include "sys/log.h" -#define TSCH_LOG_PER_SLOT (LOG_LEVEL_MAC >= LOG_LEVEL_DBG) +#define TSCH_LOG_PER_SLOT (LOG_CONF_LEVEL_MAC >= LOG_LEVEL_DBG) #endif /* TSCH_LOG_CONF_PER_SLOT */ /* The length of the log queue, i.e. maximum number postponed log messages */