diff options
author | Josh Blum <josh@joshknows.com> | 2012-07-16 20:47:49 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2012-07-16 20:47:49 -0700 |
commit | f3e7f66907bf2d77258ae38a6117927a46fe41a6 (patch) | |
tree | 3dcd7ca30c77e3dc6c41bc9d9ca622855ffc9096 | |
parent | 2f4149bf4524a49658d8898430ecf4fb3c5c71f7 (diff) | |
download | uhd-f3e7f66907bf2d77258ae38a6117927a46fe41a6.tar.gz uhd-f3e7f66907bf2d77258ae38a6117927a46fe41a6.tar.bz2 uhd-f3e7f66907bf2d77258ae38a6117927a46fe41a6.zip |
e100: ctrl impl changes for header offset
-rw-r--r-- | host/lib/usrp/e100/e100_ctrl.cpp | 4 |
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); } }; |