erewalk / qextserialport

Automatically exported from code.google.com/p/qextserialport
Other
0 stars 0 forks source link

Flush does not work in Beaglebone #188

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Which version of QextSerialPort are you using?
1.2

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

method QExtSerialPortPrivate::flush_sys() does not work properly in BeagleBone 
(both white and black versions). It should be written like this:

::tcdrain(fd);
::tcflush(fd, TCIOFLUSH);

Then the flush() works as expected.

Original issue reported on code.google.com by hobras...@gmail.com on 15 Jul 2015 at 10:33