Menu

#49 Invalid values for enums in EndpointType.cs

v2.2.8
open
nobody
None
5
2015-01-20
2015-01-20
No

I think the EndpointType.cs file has a problem with the enums. They are marked as [Flags], but there are no defined numeric values for the enums so they will get the default values of 0, 1, 2, 3. But when you select Interrupt you'll actually get a combination of Bulk and Isochronous (1 + 2). Either this enum class should not be attributed with [Flags], or the enums should have specific values (1, 2, 4, 8).

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.