Sebastian Zagrodzki
|
4a64c18350
|
move newUSBTransfer as a vanilla function to transfer.go.
Initialize all static params at new.
|
2017-02-13 03:01:30 +01:00 |
|
Sebastian Zagrodzki
|
a47809fda8
|
Simplify the C part even more - the buffer that xfer uses for
transferring data is the same as the one that was created in
newUSBTransfer.
|
2017-02-13 02:50:47 +01:00 |
|
Sebastian Zagrodzki
|
83a4778988
|
wait() does not need the buffer passed explicitly, it's already stored
in t.buf.
|
2017-02-10 22:32:16 +01:00 |
|
Sebastian Zagrodzki
|
31b3ac1c67
|
move iso.c to transfer.c, as it's used for all transfers.
move transfer callback to transfer.go.
|
2017-02-10 22:11:54 +01:00 |
|
Sebastian Zagrodzki
|
9e50cd8c1c
|
Rename extract_data to extract_iso_data, add extract_data for use by
other transfer types.
|
2017-02-10 21:45:26 +01:00 |
|
Sebastian Zagrodzki
|
de92c7047b
|
make methods of usbTransfer private
|
2017-02-09 22:38:16 +01:00 |
|
Sebastian Zagrodzki
|
80b2741a2c
|
Rename Transfer to usbTransfer, it's internal to gousb.
Move usbTransfer and it's methods to transfer.go, it's not only used by
iso transfers.
|
2017-02-09 22:36:51 +01:00 |
|