summaryrefslogtreecommitdiff
path: root/usrp/host/lib/usrp_basic.cc
diff options
context:
space:
mode:
Diffstat (limited to 'usrp/host/lib/usrp_basic.cc')
-rw-r--r--usrp/host/lib/usrp_basic.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/usrp/host/lib/usrp_basic.cc b/usrp/host/lib/usrp_basic.cc
index baecb666f..2eef14727 100644
--- a/usrp/host/lib/usrp_basic.cc
+++ b/usrp/host/lib/usrp_basic.cc
@@ -42,8 +42,7 @@ using namespace ad9862;
// These set the buffer size used for each end point using the fast
// usb interface. The kernel ends up locking down this much memory.
-static const int FUSB_BUFFER_SIZE = 2 * (1L << 20); // 2 MB (was 8 MB)
-//static const int FUSB_BUFFER_SIZE = 256 * (1L << 10); // 256 kB
+static const int FUSB_BUFFER_SIZE = fusb_sysconfig::default_buffer_size();
static const int FUSB_BLOCK_SIZE = fusb_sysconfig::max_block_size();
static const int FUSB_NBLOCKS = FUSB_BUFFER_SIZE / FUSB_BLOCK_SIZE;