Commit 08ab28bb authored by erik's avatar erik

...intelligent interface with slave has 4 bytes => vmin = 4

parent 737256dc
......@@ -596,7 +596,7 @@ FT_HANDLE OpenFtCommDevice(char *sDevice, long int dwTyp, long int dwZyklus)
ret->newioset.c_oflag = 0;
ret->newioset.c_lflag = 0;
ret->newioset.c_cc[VTIME] = 1;
ret->newioset.c_cc[VMIN] = 3;
ret->newioset.c_cc[VMIN] = 4;
tcflush(dev, TCIFLUSH);
tcsetattr(dev, TCSANOW, &ret->newioset);
ret->sdev = dev;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment