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