WinCE: Fix reading of data from serial port
Do not remove all read bytes from the input buffer,
but only the difference between the reserved ones
and the actual read ones.
Change-Id: Ib114e3972ec295f57d011ae9ffa6613313712e32
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
| commit | 77c48a0e22c1048226832e6b845d72da9d5b317f |
| parent | 1c37490efc080593c2a1318e0c02f2f3c0b27dbf |
| author | Tobias Koenig <tobias.koenig@kdab.com> |
| committer | Tobias Koenig <tobias.koenig@kdab.com> |
| commit time | Fri, 3 Jul 2015 16:57:33 +0000 |