Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/hakchi2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-03-18 21:38:42 +0300
committerAlexey 'Cluster' Avdyukhin <clusterrr@clusterrr.com>2017-03-18 21:57:50 +0300
commit84503d3af44292d12e80942b22c9f5d6babd85e6 (patch)
treec4f4e46ea5fa8c078334446d186dd12a926fa602 /Clovershell
parent038fa810f90f4c26eeb4539e6f60e6bf7db049a2 (diff)
Should work on all Windows versions now
Diffstat (limited to 'Clovershell')
-rw-r--r--Clovershell/ClovershellConnection.cs2
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);