summaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2012-07-16 20:47:49 -0700
committerJosh Blum <josh@joshknows.com>2012-07-16 20:47:49 -0700
commitf3e7f66907bf2d77258ae38a6117927a46fe41a6 (patch)
tree3dcd7ca30c77e3dc6c41bc9d9ca622855ffc9096 /host
parent2f4149bf4524a49658d8898430ecf4fb3c5c71f7 (diff)
downloaduhd-f3e7f66907bf2d77258ae38a6117927a46fe41a6.tar.gz
uhd-f3e7f66907bf2d77258ae38a6117927a46fe41a6.tar.bz2
uhd-f3e7f66907bf2d77258ae38a6117927a46fe41a6.zip
e100: ctrl impl changes for header offset
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/e100/e100_ctrl.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}
};