mirror of
https://github.com/servalproject/serval-dna.git
synced 2025-01-18 02:39:44 +00:00
removed extraneous argument to tcgetattr()
This commit is contained in:
parent
d02bcdd882
commit
42c637b021
@ -46,7 +46,7 @@ int overlay_packetradio_setup_port(overlay_interface *interface)
|
||||
usleep(1200000);
|
||||
(void)write_all(interface->alarm.poll.fd,"\rAT&T\rAT&T=RSSI\rATO\r",20);
|
||||
if (config.debug.packetradio) {
|
||||
tcgetattr(interface->alarm.poll.fd, TCSANOW, &t);
|
||||
tcgetattr(interface->alarm.poll.fd, &t);
|
||||
int in_speed=cfgetispeed(&t);
|
||||
int out_speed=cfgetospeed(&t);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user