HidLibrary
HidLibrary copied to clipboard
success in ReadFile isn't handled properly
Hi,
in this line: https://github.com/mikeobrien/HidLibrary/blob/master/src/HidLibrary/HidDevice.cs#L615 success is checked. If success is true, the ReadStatus issn't set to Success . Function exits with NoDataRead, but valid data could be read.
Maybe someone could at this small else condition in his next pull request.
Thx.
So this issue could be marked as solved, right? @mikeobrien