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
#if RIMESTATS_CONF_ON
#if RIMESTATS_CONF_ENABLED
#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";
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);";

View File

@ -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

View File

@ -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