mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-05-02 00:39:43 +00:00
reverse change that broke android compilation.
This commit is contained in:
parent
630c7cd57d
commit
09540c568b
@ -7,7 +7,8 @@ int overlay_packetradio_setup_port(overlay_interface *interface)
|
|||||||
struct termios t;
|
struct termios t;
|
||||||
|
|
||||||
tcgetattr(interface->alarm.poll.fd, &t);
|
tcgetattr(interface->alarm.poll.fd, &t);
|
||||||
cfsetspeed(&t, interface->uartbps);
|
cfsetospeed(&t, interface->uartbps);
|
||||||
|
cfsetispeed(&t, interface->uartbps);
|
||||||
|
|
||||||
// 8N1
|
// 8N1
|
||||||
t.c_cflag &= ~PARENB;
|
t.c_cflag &= ~PARENB;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user