Use d->ep_in instead of hardcoded value

This commit is contained in:
Neale Pickett 2013-04-16 00:10:13 -06:00
parent d118941b59
commit 1928ae286e
1 changed files with 1 additions and 1 deletions

2
hdjd.c
View File

@ -98,7 +98,7 @@ main(int argc, char **argv)
int i;
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;
}