Rename RIMESTATS_CONF_ON to RIMESTATS_CONF_ENABLED

This commit is contained in:
George Oikonomou 2013-03-20 21:04:36 +00:00
parent 62366813b0
commit 8c0cf50dca
3 changed files with 4 additions and 4 deletions

View file

@ -856,7 +856,7 @@ generate_stats(void *arg)
} }
#endif #endif
#if RIMESTATS_CONF_ON #if RIMESTATS_CONF_ENABLED
#include "net/rime/rimestats.h" #include "net/rime/rimestats.h"
static const char httpd_cgi_sensor21[] HTTPD_STRING_ATTR = "<em>Packets (RIMESTATS):</em> Tx=%5lu Rx=%5lu TxL=%4lu RxL=%4lu\n"; static const char httpd_cgi_sensor21[] HTTPD_STRING_ATTR = "<em>Packets (RIMESTATS):</em> Tx=%5lu Rx=%5lu TxL=%4lu RxL=%4lu\n";
numprinted+=httpd_snprintf((char *)uip_appdata+numprinted, uip_mss()-numprinted, httpd_cgi_sensor21, 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 #endif
#if RIMESTATS_CONF_ON #if RIMESTATS_CONF_ENABLED
#include "net/rime/rimestats.h" #include "net/rime/rimestats.h"
static const char httpd_cgi_ajaxr1[] HTTPD_STRING_ATTR ="rime(%lu,%lu,%lu,%lu);"; static const char httpd_cgi_ajaxr1[] HTTPD_STRING_ATTR ="rime(%lu,%lu,%lu,%lu);";

View file

@ -244,7 +244,7 @@ typedef unsigned short uip_stats_t;
/* Not tested much yet */ /* Not tested much yet */
#define WITH_PHASE_OPTIMIZATION 0 #define WITH_PHASE_OPTIMIZATION 0
#define CONTIKIMAC_CONF_COMPOWER 1 #define CONTIKIMAC_CONF_COMPOWER 1
#define RIMESTATS_CONF_ON 1 #define RIMESTATS_CONF_ENABLED 1
#define NETSTACK_CONF_FRAMER framer_802154 #define NETSTACK_CONF_FRAMER framer_802154
#define NETSTACK_CONF_RADIO rf230_driver #define NETSTACK_CONF_RADIO rf230_driver
#define CHANNEL_802_15_4 26 #define CHANNEL_802_15_4 26

View file

@ -254,7 +254,7 @@ typedef unsigned short uip_stats_t;
/* Not tested much yet */ /* Not tested much yet */
#define WITH_PHASE_OPTIMIZATION 0 #define WITH_PHASE_OPTIMIZATION 0
#define CONTIKIMAC_CONF_COMPOWER 1 #define CONTIKIMAC_CONF_COMPOWER 1
#define RIMESTATS_CONF_ON 1 #define RIMESTATS_CONF_ENABLED 1
#define NETSTACK_CONF_FRAMER framer_802154 #define NETSTACK_CONF_FRAMER framer_802154
#define NETSTACK_CONF_RADIO rf230_driver #define NETSTACK_CONF_RADIO rf230_driver
#define CHANNEL_802_15_4 26 #define CHANNEL_802_15_4 26