Skip to content

Commit

Permalink
Message
Browse files Browse the repository at this point in the history
  • Loading branch information
www committed Aug 2, 2019
1 parent a5f327b commit f27adbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hid.Net/Windows/WindowsHIDDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ private bool Initialize()
{
if (writeBufferSize == 0)
{
throw new ValidationException($"{nameof(WriteBufferSize)} must be specified. HidD_GetAttributes may have failed or returned an OutputReportByteLength of 0. Please specify this argument in the constructor. Note: Hid devices are always opened in write mode. If you need to open in read mode, please log an issue here: https://github.com/MelbourneDeveloper/Device.Net/issues");
throw new ValidationException($"{nameof(WriteBufferSize)} must be specified. HidD_GetAttributes may have failed or returned an OutputReportByteLength of 0. Please specify this argument in the constructor");
}

//Don't open if this is a read only connection
Expand Down

0 comments on commit f27adbb

Please sign in to comment.