diff --git a/apps/webserver-nano/httpd-cgi.c b/apps/webserver-nano/httpd-cgi.c index de0b8c675..feff68aaa 100644 --- a/apps/webserver-nano/httpd-cgi.c +++ b/apps/webserver-nano/httpd-cgi.c @@ -856,7 +856,7 @@ generate_stats(void *arg) } #endif -#if RIMESTATS_CONF_ON +#if RIMESTATS_CONF_ENABLED #include "net/rime/rimestats.h" static const char httpd_cgi_sensor21[] HTTPD_STRING_ATTR = "Packets (RIMESTATS): Tx=%5lu Rx=%5lu TxL=%4lu RxL=%4lu\n"; numprinted+=httpd_snprintf((char *)uip_appdata+numprinted, uip_mss()-numprinted, httpd_cgi_sensor21, @@ -1295,7 +1295,7 @@ static uint16_t c0=0x3ff,c1=0x3ff,c2=0x3ff,c3=0x3ff,c4=0x3ff,c5=0x3ff,c6=0x3ff,c } #endif -#if RIMESTATS_CONF_ON +#if RIMESTATS_CONF_ENABLED #include "net/rime/rimestats.h" static const char httpd_cgi_ajaxr1[] HTTPD_STRING_ATTR ="rime(%lu,%lu,%lu,%lu);"; diff --git a/platform/avr-atmega128rfa1/contiki-conf.h b/platform/avr-atmega128rfa1/contiki-conf.h index aeec6959a..bf561ff31 100644 --- a/platform/avr-atmega128rfa1/contiki-conf.h +++ b/platform/avr-atmega128rfa1/contiki-conf.h @@ -244,7 +244,7 @@ typedef unsigned short uip_stats_t; /* Not tested much yet */ #define WITH_PHASE_OPTIMIZATION 0 #define CONTIKIMAC_CONF_COMPOWER 1 -#define RIMESTATS_CONF_ON 1 +#define RIMESTATS_CONF_ENABLED 1 #define NETSTACK_CONF_FRAMER framer_802154 #define NETSTACK_CONF_RADIO rf230_driver #define CHANNEL_802_15_4 26 diff --git a/platform/avr-raven/contiki-conf.h b/platform/avr-raven/contiki-conf.h index 733b3cacb..e41aa6f1e 100644 --- a/platform/avr-raven/contiki-conf.h +++ b/platform/avr-raven/contiki-conf.h @@ -254,7 +254,7 @@ typedef unsigned short uip_stats_t; /* Not tested much yet */ #define WITH_PHASE_OPTIMIZATION 0 #define CONTIKIMAC_CONF_COMPOWER 1 -#define RIMESTATS_CONF_ON 1 +#define RIMESTATS_CONF_ENABLED 1 #define NETSTACK_CONF_FRAMER framer_802154 #define NETSTACK_CONF_RADIO rf230_driver #define CHANNEL_802_15_4 26