From f3e7f66907bf2d77258ae38a6117927a46fe41a6 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Mon, 16 Jul 2012 20:47:49 -0700 Subject: e100: ctrl impl changes for header offset --- host/lib/usrp/e100/e100_ctrl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/usrp/e100/e100_ctrl.cpp') diff --git a/host/lib/usrp/e100/e100_ctrl.cpp b/host/lib/usrp/e100/e100_ctrl.cpp index 397543f14..5a9b93633 100644 --- a/host/lib/usrp/e100/e100_ctrl.cpp +++ b/host/lib/usrp/e100/e100_ctrl.cpp @@ -292,7 +292,7 @@ struct e100_simpl_msb : managed_send_buffer { //load the data struct data.offset = 0; - data.count = size()/4+1/*1 for flush pad*/; + data.count = size()/4+1/*1 for header offset*/; //call the ioctl ctrl->ioctl(USRP_E_WRITE_CTL32, &data); @@ -300,7 +300,7 @@ struct e100_simpl_msb : managed_send_buffer sptr get_new(void) { - return make(this, data.buf, sizeof(data.buf)); + return make(this, data.buf+1, sizeof(data.buf)-4); } }; -- cgit v1.2.3