mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
desktop: another MacOS fix
This commit is contained in:
parent
49053a9721
commit
389e2ff03e
@ -177,7 +177,7 @@ static void check_connection(struct tcp_state *s)
|
|||||||
if (s->fd != -1) {
|
if (s->fd != -1) {
|
||||||
int one = 1;
|
int one = 1;
|
||||||
s->connected = true;
|
s->connected = true;
|
||||||
setsockopt(s->fd, SOL_TCP, TCP_NODELAY, &one, sizeof(one));
|
setsockopt(s->fd, IPPROTO_TCP, TCP_NODELAY, &one, sizeof(one));
|
||||||
printf("New connection on serial port %u\n", s->serial_port);
|
printf("New connection on serial port %u\n", s->serial_port);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user