greatscottgadgets / python-usb-protocol

python library providing utilities, data structures, constants, parsers, and tools for working with USB data
BSD 3-Clause "New" or "Revised" License
56 stars 32 forks source link

usb_protocol.types.USBPacketID: fix .byte() type #30

Closed mndza closed 1 year ago

mndza commented 1 year ago

Make USBPacketID.byte() method return an int instead of a USBPacketID. Related to https://github.com/greatscottgadgets/luna/issues/198