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:
commit
9b3c704be5
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user