Added net-debug.[ch] to provide debug functions even in the non-IP case

This commit is contained in:
Simon Duquennoy 2016-04-20 11:45:54 +02:00
parent 5b5f07ba52
commit abf08a7167
15 changed files with 166 additions and 73 deletions

View file

@ -61,7 +61,7 @@
#else /* TSCH_LOG_LEVEL */
#define DEBUG DEBUG_NONE
#endif /* TSCH_LOG_LEVEL */
#include "net/ip/uip-debug.h"
#include "net/net-debug.h"
/* Check if TSCH_QUEUE_NUM_PER_NEIGHBOR is power of two */
#if (TSCH_QUEUE_NUM_PER_NEIGHBOR & (TSCH_QUEUE_NUM_PER_NEIGHBOR - 1)) != 0