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:
Diffstat (limited to 'FelLib/Fel.cs')
-rw-r--r--FelLib/Fel.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/FelLib/Fel.cs b/FelLib/Fel.cs
index f21f7bb8..e7eed40d 100644
--- a/FelLib/Fel.cs
+++ b/FelLib/Fel.cs
@@ -135,7 +135,7 @@ namespace com.clusterrr.FelLib
Debug.WriteLine("OUT endpoint maxsize: " + outMax);
}
}
- if (inEndp != 0x82 || inMax != 64 || outEndp != 0x01 || outMax != 64)
+ if (inEndp != 0x82 || outEndp != 0x01)
throw new Exception("Uncorrect FEL device");
epReader = device.OpenEndpointReader((ReadEndpointID)inEndp, 65536);
epWriter = device.OpenEndpointWriter((WriteEndpointID)outEndp);