diff options
author | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-03-18 21:38:42 +0300 |
---|---|---|
committer | Alexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com> | 2017-03-18 21:57:50 +0300 |
commit | 84503d3af44292d12e80942b22c9f5d6babd85e6 (patch) | |
tree | c4f4e46ea5fa8c078334446d186dd12a926fa602 /Clovershell | |
parent | 038fa810f90f4c26eeb4539e6f60e6bf7db049a2 (diff) |
Should work on all Windows versions now
Diffstat (limited to 'Clovershell')
-rw-r--r-- | Clovershell/ClovershellConnection.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Clovershell/ClovershellConnection.cs b/Clovershell/ClovershellConnection.cs index a99127f9..00c24c06 100644 --- a/Clovershell/ClovershellConnection.cs +++ b/Clovershell/ClovershellConnection.cs @@ -231,7 +231,7 @@ namespace com.clusterrr.clovershell //Debug.WriteLine("OUT endpoint maxsize: " + outMax);
}
}
- if (inEndp != 0x81 || inMax != 512 || outEndp != 0x01 || outMax != 512)
+ if (inEndp != 0x81 || outEndp != 0x01)
break;
epReader = device.OpenEndpointReader((ReadEndpointID)inEndp, 65536);
epWriter = device.OpenEndpointWriter((WriteEndpointID)outEndp);
|