remove warnings

This commit is contained in:
Harald Pichler 2016-10-02 22:49:22 +02:00
parent fa11a55a45
commit 9226facda8
2 changed files with 2 additions and 1 deletions

View file

@ -75,6 +75,7 @@ int color_from_string (const char *name, const char *uri, const char *s)
return 0;
}
#pragma GCC diagnostic ignored "-Wwrite-strings"
GENERIC_RESOURCE
( red
, RED_LED
@ -101,6 +102,7 @@ GENERIC_RESOURCE
, color_from_string
, color_to_string
);
#pragma GCC diagnostic pop
void setup (void)
{

View file

@ -275,7 +275,6 @@ typedef unsigned short uip_stats_t;
/* ************************************************************************** */
#if UIP_CONF_IPV6_RPL
#define UIP_CONF_ROUTER 1
#define UIP_CONF_ND6_SEND_RA 0
#define UIP_CONF_ND6_REACHABLE_TIME 600000
#define UIP_CONF_ND6_RETRANS_TIMER 10000