Remove BCD.Int, add BCD.Major/Minor. Remove USB spec versions

- I don't expect them to get much use, and reuse of BCD for USB spec
version and device revision makes it somewhat confusing.
This commit is contained in:
Sebastian Zagrodzki
2017-04-09 20:25:16 +02:00
parent a5c4de3a29
commit 56162d0105
6 changed files with 45 additions and 32 deletions

View File

@@ -76,6 +76,7 @@ var errorString = map[Error]string{
// TransferStatus contains information about the result of a transfer.
type TransferStatus uint8
// Transfer status values provided by libusb.
const (
TransferCompleted TransferStatus = C.LIBUSB_TRANSFER_COMPLETED
TransferError TransferStatus = C.LIBUSB_TRANSFER_ERROR