Use Protocol type for USB interface protocol.

This commit is contained in:
Sebastian Zagrodzki
2017-04-09 18:42:04 +02:00
parent d3428d9b35
commit f91d53931a
7 changed files with 20 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ type InterfaceSetup struct {
// IfClass is the USB-IF subclass code, as defined by the USB spec.
IfSubClass Class
// IfProtocol is USB protocol code, as defined by the USB spe.c
IfProtocol uint8
IfProtocol Protocol
// Endpoints has the list of endpoints available on this interface with
// this alternate setting.
Endpoints []EndpointInfo