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:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user