}
uchar
-ANT_Initf(char *devname, ushort baud)
+ANT_Initf(char *devname)
{
struct termios tp;
}
uchar
-ANT_Init(uchar devno, ushort baud)
+ANT_Init(uchar devno)
{
char dev[40];
sprintf(dev, "/dev/ttyUSB%d", devno);
- return ANT_Initf(dev, devno);
+ return ANT_Initf(dev);
}
uchar
if ((!passive && !authfile) || ac)
usage();
-
- if (!ANT_Init(devnum, 0)) { // should be 115200 but doesn't fit into a short
+
+ if (!ANT_Init(devnum)) { // should be 115200 but doesn't fit into a short
fprintf(stderr, "open dev %d failed\n", devnum);
exit(1);
}