HidLibrary icon indicating copy to clipboard operation
HidLibrary copied to clipboard

success in ReadFile isn't handled properly

Open Counterfeiter opened this issue 7 years ago • 1 comments

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.

Counterfeiter avatar Mar 07 '17 11:03 Counterfeiter

So this issue could be marked as solved, right? @mikeobrien

MeFisto94 avatar Jun 06 '17 12:06 MeFisto94