diff --git a/sys/net/gnrc/link_layer/gomach/gomach.c b/sys/net/gnrc/link_layer/gomach/gomach.c index 4f7f1a578f..4b0066d862 100644 --- a/sys/net/gnrc/link_layer/gomach/gomach.c +++ b/sys/net/gnrc/link_layer/gomach/gomach.c @@ -38,9 +38,6 @@ #include "net/gnrc/gomach/timeout.h" #include "include/gomach_internal.h" -#define ENABLE_DEBUG (0) -#include "debug.h" - #ifndef LOG_LEVEL /** * @brief Default log level define @@ -50,6 +47,9 @@ #include "log.h" +#define ENABLE_DEBUG 0 +#include "debug.h" + /** * @brief GoMacH thread's PID */ diff --git a/sys/net/gnrc/link_layer/gomach/gomach_internal.c b/sys/net/gnrc/link_layer/gomach/gomach_internal.c index a8c3eb2d3e..e83e416bf8 100644 --- a/sys/net/gnrc/link_layer/gomach/gomach_internal.c +++ b/sys/net/gnrc/link_layer/gomach/gomach_internal.c @@ -34,9 +34,6 @@ #include "net/gnrc/netif/ieee802154.h" #include "net/netdev/ieee802154.h" -#define ENABLE_DEBUG (0) -#include "debug.h" - #ifndef LOG_LEVEL /** * @brief Default log level define @@ -46,6 +43,9 @@ #include "log.h" +#define ENABLE_DEBUG 0 +#include "debug.h" + int _gnrc_gomach_transmit(gnrc_netif_t *netif, gnrc_pktsnip_t *pkt) { netdev_t *dev = netif->dev; diff --git a/sys/net/gnrc/link_layer/lwmac/lwmac.c b/sys/net/gnrc/link_layer/lwmac/lwmac.c index 44907b5c20..df9bec45dd 100644 --- a/sys/net/gnrc/link_layer/lwmac/lwmac.c +++ b/sys/net/gnrc/link_layer/lwmac/lwmac.c @@ -41,9 +41,6 @@ #include "include/rx_state_machine.h" #include "include/lwmac_internal.h" -#define ENABLE_DEBUG (0) -#include "debug.h" - #ifndef LOG_LEVEL /** * @brief Default log level define @@ -53,6 +50,9 @@ #include "log.h" +#define ENABLE_DEBUG 0 +#include "debug.h" + /** * @brief LWMAC thread's PID */ diff --git a/sys/net/gnrc/link_layer/lwmac/tx_state_machine.c b/sys/net/gnrc/link_layer/lwmac/tx_state_machine.c index 07e42c2513..31e0cde79b 100644 --- a/sys/net/gnrc/link_layer/lwmac/tx_state_machine.c +++ b/sys/net/gnrc/link_layer/lwmac/tx_state_machine.c @@ -30,9 +30,6 @@ #include "include/tx_state_machine.h" #include "include/lwmac_internal.h" -#define ENABLE_DEBUG (0) -#include "debug.h" - #ifndef LOG_LEVEL /** * @brief Default log level define @@ -41,6 +38,9 @@ #endif #include "log.h" +#define ENABLE_DEBUG 0 +#include "debug.h" + /** * @brief Flag to track if send packet success */