fixed bug causing lots of packet loss
This commit is contained in:
parent
26d3359683
commit
a096ace73e
|
@ -176,7 +176,7 @@ slip_packet_input(unsigned char *data, int len)
|
||||||
void
|
void
|
||||||
serial_input(FILE *inslip)
|
serial_input(FILE *inslip)
|
||||||
{
|
{
|
||||||
unsigned char inbuf[2048];
|
static unsigned char inbuf[2048];
|
||||||
static int inbufptr = 0;
|
static int inbufptr = 0;
|
||||||
int ret,i;
|
int ret,i;
|
||||||
unsigned char c;
|
unsigned char c;
|
||||||
|
|
Loading…
Reference in a new issue