Merge pull request #210 from joakimeriksson/master

Fixed native border router to compile and have less packet loss (due to slip-dev bug).
This commit is contained in:
Nicolas Tsiftes 2013-05-20 04:39:36 -07:00
commit 9b3c704be5
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ CONTIKI=../../..
WITH_UIP6=1
UIP_CONF_IPV6=1
CFLAGS+= -DUIP_CONF_IPV6_RPL
CFLAGS+= -DUIP_CONF_IPV6_RPL -DUIP_CONF_IPV6 -DWITH_UIP6
#linker optimizations
SMALL=1

View file

@ -176,7 +176,7 @@ slip_packet_input(unsigned char *data, int len)
void
serial_input(FILE *inslip)
{
unsigned char inbuf[2048];
static unsigned char inbuf[2048];
static int inbufptr = 0;
int ret,i;
unsigned char c;