diff options
author | Josh Blum <josh@joshknows.com> | 2011-06-30 16:35:22 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-06-30 16:35:22 -0700 |
commit | 208c1aa1a370550ca26cf9a2dc52dcc5fe9693e2 (patch) | |
tree | 58b68512caa58b92f2387370adfce28dfacdd9a4 /host/lib/usrp/b100/io_impl.cpp | |
parent | 3a53fc9b19d1b1aed5f6c99367fe0f8e2911457c (diff) | |
download | uhd-208c1aa1a370550ca26cf9a2dc52dcc5fe9693e2.tar.gz uhd-208c1aa1a370550ca26cf9a2dc52dcc5fe9693e2.tar.bz2 uhd-208c1aa1a370550ca26cf9a2dc52dcc5fe9693e2.zip |
b100: figured it out, endianess was set wrong
Diffstat (limited to 'host/lib/usrp/b100/io_impl.cpp')
-rw-r--r-- | host/lib/usrp/b100/io_impl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/usrp/b100/io_impl.cpp b/host/lib/usrp/b100/io_impl.cpp index 894876a7c..3c1acedaf 100644 --- a/host/lib/usrp/b100/io_impl.cpp +++ b/host/lib/usrp/b100/io_impl.cpp @@ -94,12 +94,12 @@ void b100_impl::io_init(void){ //setup rx otw type _rx_otw_type.width = 16; _rx_otw_type.shift = 0; - _rx_otw_type.byteorder = uhd::otw_type_t::BO_BIG_ENDIAN; + _rx_otw_type.byteorder = uhd::otw_type_t::BO_LITTLE_ENDIAN; //setup tx otw type _tx_otw_type.width = 16; _tx_otw_type.shift = 0; - _tx_otw_type.byteorder = uhd::otw_type_t::BO_BIG_ENDIAN; + _tx_otw_type.byteorder = uhd::otw_type_t::BO_LITTLE_ENDIAN; //TODO best place to put this? this->reset_gpif(6); |