fixed bug causing lots of packet loss

This commit is contained in:
Joakim Eriksson 2013-05-04 13:13:08 -07:00
parent 26d3359683
commit a096ace73e

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;