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

@@ -420,8 +420,8 @@ var (
libusbIsoOffset = unsafe.Offsetof(C.struct_libusb_transfer{}.iso_packet_desc)
)
//export xfer_callback
func xfer_callback(cptr unsafe.Pointer) {
//export xferCallback
func xferCallback(cptr unsafe.Pointer) {
ch := *(*chan struct{})(cptr)
close(ch)
}