Use Class for classes in usbid.

This commit is contained in:
Sebastian Zagrodzki
2017-04-09 18:29:16 +02:00
parent af00028b97
commit d3428d9b35
7 changed files with 36 additions and 23 deletions

View File

@@ -34,7 +34,7 @@ var (
Vendors map[usb.ID]*Vendor
// Classes stores the class, subclass and protocol mappings.
Classes map[uint8]*Class
Classes map[usb.Class]*Class
)
// LoadFromURL replaces the built-in vendor and class mappings with ones loaded