diff options
Diffstat (limited to 'FelLib/Fel.cs')
-rw-r--r-- | FelLib/Fel.cs | 2 |
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);
|