Fix ordering of config

This commit is contained in:
Kyle Lemons
2012-04-15 22:43:55 -04:00
parent 1e5170b125
commit 96ca30cdbb
2 changed files with 8 additions and 9 deletions

View File

@@ -26,7 +26,7 @@ func (end *endpoint) allocTransfer() *Transfer {
// Use libusb_get_max_iso_packet_size ?
const (
iso_packets = 8 // 128 // 242
packet_size = 2048 // 1760
packet_size = 2*960 // 1760
)
xfer := C.libusb_alloc_transfer(C.int(iso_packets))