tsch-log: fix autoconfiguration of TSCH_LOG_PER_SLOT
This commit is contained in:
parent
27e0357595
commit
c320717d9a
@ -51,7 +51,7 @@
|
|||||||
#define TSCH_LOG_PER_SLOT TSCH_LOG_CONF_PER_SLOT
|
#define TSCH_LOG_PER_SLOT TSCH_LOG_CONF_PER_SLOT
|
||||||
#else /* TSCH_LOG_CONF_PER_SLOT */
|
#else /* TSCH_LOG_CONF_PER_SLOT */
|
||||||
#include "sys/log.h"
|
#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 */
|
#endif /* TSCH_LOG_CONF_PER_SLOT */
|
||||||
|
|
||||||
/* The length of the log queue, i.e. maximum number postponed log messages */
|
/* The length of the log queue, i.e. maximum number postponed log messages */
|
||||||
|
Loading…
Reference in New Issue
Block a user