1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

gnrc: lwmac: DEBUG fix

This commit is contained in:
Kaspar Schleiser 2017-10-20 23:19:42 +02:00
parent 702ec4a517
commit 35ea251516

View File

@ -26,8 +26,7 @@
#define ENABLE_DEBUG (0)
#include "debug.h"
#if ENABLE_DEBUG
char *lwmac_timeout_names[] = {
static const char *lwmac_timeout_names[] = {
[GNRC_LWMAC_TIMEOUT_DISABLED] = "DISABLED",
[GNRC_LWMAC_TIMEOUT_WR] = "WR",
[GNRC_LWMAC_TIMEOUT_NO_RESPONSE] = "NO_RESPONSE",
@ -35,7 +34,6 @@ char *lwmac_timeout_names[] = {
[GNRC_LWMAC_TIMEOUT_WAIT_DEST_WAKEUP] = "WAIT_FOR_DEST_WAKEUP",
[GNRC_LWMAC_TIMEOUT_WAKEUP_PERIOD] = "WAKEUP_PERIOD",
};
#endif
static inline void _lwmac_clear_timeout(gnrc_lwmac_timeout_t *timeout)
{