mirror of https://github.com/nealey/hdjd.git
Use d->ep_in instead of hardcoded value
This commit is contained in:
parent
d118941b59
commit
1928ae286e
2
hdjd.c
2
hdjd.c
|
@ -98,7 +98,7 @@ main(int argc, char **argv)
|
||||||
int i;
|
int i;
|
||||||
snd_seq_event_t ev;
|
snd_seq_event_t ev;
|
||||||
|
|
||||||
if ((ret = libusb_bulk_transfer(dev, 0x83, data, sizeof data, &transferred, 0))) {
|
if ((ret = libusb_bulk_transfer(dev, d->ep_in, data, sizeof data, &transferred, 0))) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue