summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2012-05-25 00:15:41 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2012-05-25 00:15:41 +0200
commit5b2f5902b0d8d9d8d848ac81fce1287f2f6c23b3 (patch)
tree9031558e3c5fc0090d93e73ef09f22a6fb56d802
parent8650ea86db7d342b7662a5a2271df6e02cb2d1f7 (diff)
libosmosdr: update USB endpoint used for IQ streaming
-rw-r--r--software/libosmosdr/src/libosmosdr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/software/libosmosdr/src/libosmosdr.c b/software/libosmosdr/src/libosmosdr.c
index e825c8f..0a01320 100644
--- a/software/libosmosdr/src/libosmosdr.c
+++ b/software/libosmosdr/src/libosmosdr.c
@@ -541,7 +541,7 @@ int osmosdr_read_sync(osmosdr_dev_t *dev, void *buf, int len, int *n_read)
if (!dev)
return -1;
- return libusb_bulk_transfer(dev->devh, 0x81, buf, len, n_read, BULK_TIMEOUT);
+ return libusb_bulk_transfer(dev->devh, 0x86, buf, len, n_read, BULK_TIMEOUT);
}
static void LIBUSB_CALL _libusb_callback(struct libusb_transfer *xfer)
@@ -644,7 +644,7 @@ int osmosdr_read_async(osmosdr_dev_t *dev, osmosdr_read_async_cb_t cb, void *ctx
for(i = 0; i < dev->xfer_buf_num; ++i) {
libusb_fill_bulk_transfer(dev->xfer[i],
dev->devh,
- 0x81,
+ 0x86,
dev->xfer_buf[i],
dev->xfer_buf_len,
_libusb_callback,